ORG.oclc.z39.server
Class Z39scan
java.lang.Object
|
+--ORG.oclc.z39.server.Z39scan
- public class Z39scan
- extends Object
Z39scan creates ScanResponses and translates ScanRequests.
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
DbList
public String[] DbList
attributes
public DataDir attributes
resultSetAttributes
public DataDir resultSetAttributes
term
public String term
stepSize
public int stepSize
numberOfTermsRequested
public int numberOfTermsRequested
preferredPositionInResponse
public int preferredPositionInResponse
requestLength
public int requestLength
- integer data type containing the number of bytes in the request.
responseLength
public int responseLength
- integer data type containing the number of bytes in the response.
Z39scan
public Z39scan()
sessionId
public String sessionId()
txnId
public String txnId()
Response
public BerString Response(int numberOfEntriesReturned,
int scanStatus,
TermInfo[] terms,
Object error,
int extraLen,
int offset)
- Creates a Z39.50 ScanResponse.
- Returns:
- BerString containing Response or null if space was unavailable.
Request
public void Request(BerString request)
- Processes a Z39.50 ScanRequest.
- Parameters:
request
- BerString containing request.
Request
public void Request(DataDir request)
- Processes a Z39.50 ScanRequest.
- Parameters:
request
- DataDir containing request.
toString
public String toString()
- Overrides:
- toString in class Object