ORG.oclc.zbroker
Class ZBroker
java.lang.Object
|
+--ORG.oclc.zbroker.ZBroker
- public class ZBroker
- extends Object
- implements timedObject
ZBroker is a server that handles connections from external
Z39.50 clients other than the JaSSI. It is designed to
bind to a well-defined port and broker connections from
these clients. It implements the connection-less protocol
to the ZBase at the back end to reduce ports in use on
the server and holds the socket open to the external clients.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ZBroker
public ZBroker()
timerExpired
public void timerExpired()
- Specified by:
- timerExpired in interface timedObject
opsClient
public static final OpsClient opsClient()
- Retrieves the OpsClient object associated with the ZBroker.
- Returns:
- OpsClient
getStats
public static String getStats()
getStats
public static String getStats(long currentTime,
long lastTime)
getConnectionCount
public static int getConnectionCount()
suspendConnections
public void suspendConnections()
acceptConnection
public boolean acceptConnection()
throws IOException
configure
public void configure(IniFile ini)
stop
public static void stop()
main
public static void main(String[] args)
getHostName
public static String getHostName()
getHostId
public static String getHostId()
getPort
public static int getPort()
sessionInfoHandler
public static SessionInfo sessionInfoHandler()