All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ORG.oclc.z39.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.

Version:
@(#)oclcUserInformation2.java 1.1 07/09/97

Variable Index

 o host
 o OID
Object identifier for this field
 o port
 o sessionId

Constructor Index

 o oclcUserInformation2(DataDir)

Method Index

 o buildDir(String, int, int)

Variables

 o OID
 public static final String OID
Object identifier for this field

 o port
 public int port
 o sessionId
 public int sessionId
 o host
 public String host

Constructors

 o oclcUserInformation2
 public oclcUserInformation2(DataDir userInformationField)

Methods

 o buildDir
 public static DataDir buildDir(String host,
                                int port,
                                int sessionId)
Returns:
DataDir for an oclcUserInformation2

All Packages  Class Hierarchy  This Package  Previous  Next  Index