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.
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
Z39accessControl
public Z39accessControl()
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