Open SiteSearch 4.1.1
Final

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.


Field Summary
 DataDir attributes
           
 String[] DbList
           
 int numberOfTermsRequested
           
 int preferredPositionInResponse
           
 int referenceId
          Value passed to Response and returned by a target Z39.50 server and Request stores it here.
 int requestLength
          integer data type containing the number of bytes in the request.
 int responseLength
          integer data type containing the number of bytes in the response.
 DataDir resultSetAttributes
           
 String sessionId
           
 int stepSize
           
 String term
           
 String txnId
           
 
Constructor Summary
Z39scan()
           
 
Method Summary
 void Request(BerString request)
          Processes a Z39.50 ScanRequest.
 void Request(DataDir request)
          Processes a Z39.50 ScanRequest.
 BerString Response(int numberOfEntriesReturned, int scanStatus, TermInfo[] terms, Object error, int extraLen, int offset)
          Creates a Z39.50 ScanResponse.
 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

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.
Constructor Detail

Z39scan

public Z39scan()
Method Detail

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

Open SiteSearch 4.1.1
Final