|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ORG.oclc.z39.client.Z39close
Z39close creates Close requests.
Field Summary | |
int |
closeReason
Why the origin or target is closing the z-association |
int |
referenceId
Value passed to Request and returned by a target Z39.50 server |
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. |
String |
sessionId
|
String |
txnId
|
Z39session |
zsession
Z39session |
Constructor Summary | |
Z39close()
|
|
Z39close(Z39session z)
|
Method Summary | |
void |
doClose(int referenceId,
int closeReason)
Creates, sends, and processes a Z39.50 Close Request |
BerString |
Request(int referenceId,
int closeReason)
Creates a Z39.50 Close Request |
BerString |
Request(int referenceId,
int closeReason,
int extraLen,
int offset)
Creates a Z39.50 Close Request |
void |
Response(BerString response)
Processes a Z39.50 Close |
void |
Response(DataDir response)
Processes a Z39.50 Close. |
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 |
public int referenceId
public int closeReason
public int requestLength
public int responseLength
public String sessionId
public String txnId
public Z39session zsession
Constructor Detail |
public Z39close()
public Z39close(Z39session z)
Method Detail |
public String sessionId()
public String txnId()
public void doClose(int referenceId, int closeReason) throws Exception, Diagnostic1
referenceId
- Will be returned on Response and allows Requests
and responses to be matched up by the application.closeReason
- See Z39.50 Specification.public BerString Request(int referenceId, int closeReason)
referenceId
- Will be returned on Response and allows Requests
and responses to be matched up by the application.closeReason
- See Z39.50 Specification.public BerString Request(int referenceId, int closeReason, int extraLen, int offset)
referenceId
- Will be returned on Response and allows Requests
and responses to be matched up by the application.closeReason
- See Z39.50 Specification.extraLen
- Allow this much extra room in the built BER record.offset
- Build the Request at this offset in the BerStringpublic void Response(BerString response)
response
- BerString containing response.public void Response(DataDir response)
response
- DataDir containing responsepublic String toString()
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |