ORG.oclc.z39.server
Class Z39dedup
java.lang.Object
|
+--ORG.oclc.z39.server.Z39dedup
- public class Z39dedup
- extends Object
Z39dedup creates DedupResponses and translates DedupRequests.
errorCode
public int errorCode
- Value passed to Response and returned by a target Z39.50 server and
Request stores it here.
referenceId
public int referenceId
sessionId
public String sessionId
txnId
public String txnId
resultSetName
public String resultSetName
dedupResultSetName
public String dedupResultSetName
dedupKeys
public String[] dedupKeys
dedupOrders
public int[] dedupOrders
dupCriteria
public DuplicateCriteria dupCriteria
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.
Z39dedup
public Z39dedup()
sessionId
public String sessionId()
txnId
public String txnId()
Response
public BerString Response(int DedupStatus,
int postingsCount,
DbResults[] dbResults,
Diagnostic1 error,
int extraLen,
int offset)
- Creates a Z39.50 DedupResponse.
- 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
Request
public void Request(BerString request)
Request
public void Request(DataDir request)
toString
public String toString()
- Overrides:
- toString in class Object