ORG.oclc.z39
Class oclcUserInformation2
java.lang.Object
|
+--ORG.oclc.z39.oclcUserInformation2
- public class oclcUserInformation2
- extends Object
oclcUserInformation2 is used to request and report session and host
information. If a client sends a oclcUserInformation2 field on an Init
request, the server will response with a filled in oclcUserInformation2
field containing a session id, a host name and a port number so that
the Z39 session can be conducted in a connection-less mode. The user should
then send the oclcUserInformation2 on all subsequent requests (in the
OtherInformation field). If the connection is broken, the user should
re-connect to the specified port & host (which is not necessarily the
original port & host). A new init is not done as part of the re-connect.
The client simply re-establishes the socket connection and sends the
next request with the oclcUserInformation2.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
OID
public static final String OID
- Object identifier for this field
port
public int port
sessId
public String sessId
txnId
public String txnId
host
public String host
sessionIdDir
public DataDir sessionIdDir
oclcUserInformation2
public oclcUserInformation2(DataDir userInformationField)
buildDir
public static DataDir buildDir(String host,
int port,
String sessionId)
- Returns:
- DataDir for an oclcUserInformation2
buildDir
public static DataDir buildDir(String host,
int port,
String sessionId,
String txnId)
- Returns:
- DataDir for an oclcUserInformation2