Open SiteSearch 4.1.1
Final

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()
           
 
Method Summary
 boolean acceptConnection()
           
 void configure(IniFile ini)
           
static int getConnectionCount()
           
static String getHostName()
           
static int getPort()
           
static String getStats()
           
static String getStats(long currentTime, long lastTime)
           
static void main(String[] args)
           
static OpsClient opsClient()
          Retrieves the OpsClient object associated with the ZBase.
static void stop()
           
static void suspendConnections()
           
 void timerExpired()
           
static void update()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZBase

public ZBase()
Method Detail

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()

Open SiteSearch 4.1.1
Final