Open SiteSearch 4.1.1
Final

ORG.oclc.z39.server
Class Z39accessControl

java.lang.Object
  |
  +--ORG.oclc.z39.server.Z39accessControl

public class Z39accessControl
extends Object

accessControl creates SearchResponses and translates SearchRequests.


Field Summary
 AccessControl acInfo
           
 DataDir otherInfo
           
 int referenceId
          Value passed to Response and returned by a target Z39.50 server and Request stores it here.
 String sessionId
           
 String txnId
           
 
Constructor Summary
Z39accessControl()
           
 
Method Summary
 BerString Request(int referenceID, AccessControl acInfo, int extraLen, int offset)
          Creates a Z39.50 AccessControlRequest.
 void Response(BerString response)
           
 void Response(DataDir response)
           
 String sessionId()
           
 String toString()
           
 String txnId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

referenceId

public int referenceId
Value passed to Response and returned by a target Z39.50 server and Request stores it here.

sessionId

public String sessionId

txnId

public String txnId

acInfo

public AccessControl acInfo

otherInfo

public DataDir otherInfo
Constructor Detail

Z39accessControl

public Z39accessControl()
Method Detail

sessionId

public String sessionId()

txnId

public String txnId()

Request

public BerString Request(int referenceID,
                         AccessControl acInfo,
                         int extraLen,
                         int offset)
Creates a Z39.50 AccessControlRequest.
Parameters:
referenceId - Will be returned on Request.
extraLen - Allow this much extra room in the built BER record.
offset - Build the Response at this offset in the BerString
Returns:
BerString containing Response or null if space was unavailable

Response

public void Response(BerString response)

Response

public void Response(DataDir response)

toString

public String toString()
Overrides:
toString in class Object

Open SiteSearch 4.1.1
Final