ORG.oclc.zbase.server
Class ZBase
java.lang.Object
|
+--ORG.oclc.zbase.server.ZBase
- public class ZBase
- extends Object
- implements timedObject
ZBase is a Z39.50 server. It reads in a configuration file
which specifies port to listen on and what class will be used
as threads are created.
Constructor Summary |
ZBase()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ZBase
public ZBase()
timerExpired
public void timerExpired()
- Specified by:
- timerExpired in interface timedObject
opsClient
public static final OpsClient opsClient()
- Retrieves the OpsClient object associated with the ZBase.
- Returns:
- OpsClient
getStats
public static String getStats()
getStats
public static String getStats(long currentTime,
long lastTime)
getConnectionCount
public static int getConnectionCount()
suspendConnections
public static void suspendConnections()
acceptConnection
public boolean acceptConnection()
throws IOException
configure
public void configure(IniFile ini)
stop
public static void stop()
update
public static void update()
main
public static void main(String[] args)
getHostName
public static String getHostName()
getPort
public static int getPort()