Open SiteSearch 4.1.1
Final

ORG.oclc.zbroker
Class ZBrokerClient

java.lang.Object
  |
  +--ORG.oclc.zbroker.ZBrokerClient

public class ZBrokerClient
extends Object

ZBrokerClient sends/receives requests to a remote Z39.50 server.


Field Summary
 Log log
          User's Log object.
 
Method Summary
 void close()
          Free up any resources.
 boolean connect()
          Create a connection to this Server for the user.
 void disconnect()
          Destroy a connection to this Server for a user.
 void done()
          Clean up this user session.
 void finalize()
           
 DataDir initRequest()
           
 void openLog(int traceLevel)
          Open the user log
 void openLog(String logName, String logDir, int logLevel)
          Open the user log and save the filenames
 void reconnect()
           
 void saveInit(DataDir dir)
           
 boolean serverConnected()
           
 void stop()
           
 boolean supportsReconnect()
           
 String toString()
           
 int txnCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

public Log log
User's Log object.
Method Detail

openLog

public void openLog(String logName,
                    String logDir,
                    int logLevel)
Open the user log and save the filenames
Parameters:
logName - the name of the log file
logDir - the directory for the log file
logLevel - the trace level

openLog

public void openLog(int traceLevel)
Open the user log

txnCount

public int txnCount()

done

public void done()
Clean up this user session.

stop

public void stop()

toString

public String toString()
Overrides:
toString in class Object

serverConnected

public boolean serverConnected()

supportsReconnect

public boolean supportsReconnect()

saveInit

public void saveInit(DataDir dir)

initRequest

public DataDir initRequest()

finalize

public void finalize()
Overrides:
finalize in class Object

close

public void close()
Free up any resources. ?? Should this close the Connection object?

connect

public boolean connect()
Create a connection to this Server for the user.

reconnect

public void reconnect()
               throws Diagnostic1

disconnect

public void disconnect()
Destroy a connection to this Server for a user. Remove the user from the list of connections to this server.

Open SiteSearch 4.1.1
Final