|
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.Z39delete
deleteRequest builds and parses DeleteResultSetRequests.
Field Summary | |
int |
deleteFunction
Specified by the origin. |
int[] |
deleteListStatuses
If the deleteFunction was 'list', then these are statuses for each list |
String |
deleteMessage
Optional text message from the target |
int |
deleteOperationStatus
Returned by the target |
int |
numberNotDeleted
If the deleteFunction was 'bulk' and some were not delete, the target fills this in |
int |
referenceId
Value passed to Request and returned by a target Z39.50 server and Response 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. |
String[] |
resultSetList
If the deleteFunction is 'list', then this is the list |
Z39session |
zsession
Z39session |
Constructor Summary | |
Z39delete()
|
|
Z39delete(Z39session z)
|
Method Summary | |
void |
doDelete(int referenceId,
int deleteFunction,
String[] resultSetList)
Creates, Issues, and Processes a Z39.50 DeleteResultSet |
BerString |
Request(int referenceId,
int deleteFunction,
String[] resultSetList)
Creates a Z39.50 DeleteResultSetRequest |
BerString |
Request(int referenceId,
int deleteFunction,
String[] resultSetList,
int extraLen,
int offset)
Creates a Z39.50 DeleteResultSetRequest |
void |
Response(BerString response)
Processes a Z39.50 DeleteResponse. |
void |
Response(DataDir response)
|
BerString |
toBer()
BER encodes the Z39.50 Delete Request |
BerString |
toBerString()
Creates a Z39.50 DeleteRequest BerString given that all the initclass request are already set up. |
BerString |
toBerString(int extraLen,
int offset)
Creates a Z39.50 DeleteRequest BerString given that all the initclass request are already set up |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public int referenceId
public int deleteFunction
public String[] resultSetList
public int deleteOperationStatus
public int[] deleteListStatuses
public int numberNotDeleted
public String deleteMessage
public int requestLength
public int responseLength
public Z39session zsession
Constructor Detail |
public Z39delete()
public Z39delete(Z39session z)
Method Detail |
public void doDelete(int referenceId, int deleteFunction, String[] resultSetList) throws Exception, Diagnostic1
referenceId
- Will be returned on Response and allows Requests
and responses to be matched up by the application.deleteFunction
- See Z39.50 Specification.resultSetList
- See Z39.50 Specification.public final BerString Request(int referenceId, int deleteFunction, String[] resultSetList)
referenceId
- Will be returned on Response and allows Requests
and responses to be matched up by the application.deleteFunction
- See Z39.50 Specification.resultSetList
- See Z39.50 Specification.public final BerString Request(int referenceId, int deleteFunction, String[] resultSetList, int extraLen, int offset)
referenceId
- Will be returned on Response and allows Requests
and responses to be matched up by the application.deleteFunction
- See Z39.50 Specification.resultSetList
- 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 BerString toBerString()
public BerString toBerString(int extraLen, int offset)
extraLen
- Allow this much extra room in the built BER return record.offset
- Build the Request at this offset in the BerStringpublic BerString toBer()
public void Response(BerString response)
response
- BerString containing response.public void Response(DataDir response)
public String toString()
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |