|
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.isoill.IllRequest
The IllRequest class sends an ISOILL 10161 request to OCLC ILL. IllRequest uses the IllSession, IllPatronInfo and IllTxnInfo objects to collect all pieces of the request, uses a BerConnect to transmit, and then creates an IllAnswer or an IllStatusOrErrorReport with the reply. If the execution of IllRequest fails, an Exception is thrown.
Field Summary | |
IllAnswer |
answer
IllAnswer object containing an ISO10161 APDU which is returned from OCLC if the request is loaded to the Review file |
IllStatusOrErrorReport |
error
IllStatusOrErrorReport object containing an ISO10161 APDU which is returned from OCLC if the request is produced (directToProfile or directToLender) or encounters an error. |
IllSession |
isession
IllSession object containing information about this ILL session. |
IllPatronInfo |
patron
IllPatronInfo object containing information about the patron. |
IllTxnInfo |
txn
IllTxnInfo object containing information pertaining to this transaction |
Constructor Summary | |
IllRequest()
Constructs an IllRequest object. |
|
IllRequest(IllSession session)
Constructs an IllRequest object using an existing IllSession. |
Method Summary | |
void |
doIll(IllTxnInfo txn)
Performs an ILL transaction |
BerString |
Request(IllTxnInfo txn)
Creates the BerString request that will be transmitted to OCLC. |
void |
Response(BerString response)
Decodes the BerString response into a DataDir |
void |
Response(DataDir response)
Unpacks the DataDir response and creates either an IllAnswer or an IllStatusOrErrorReport |
String |
toString()
Generate a String representation of the object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public IllPatronInfo patron
public IllTxnInfo txn
public IllStatusOrErrorReport error
public IllAnswer answer
public IllSession isession
Constructor Detail |
public IllRequest()
public IllRequest(IllSession session)
session
- and existing ILLSession.Method Detail |
public void doIll(IllTxnInfo txn) throws Exception
txn
- this ILL transactionpublic BerString Request(IllTxnInfo txn)
txn
- the ILL transactionpublic void Response(BerString response) throws Exception
response
- the BerStringpublic void Response(DataDir response) throws Exception
the
- response in the form of a DataDirpublic String toString()
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |