|
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.server.Z39init
Z39init creates InitResponses and translates InitRequests.
Field Summary | |
String |
autho
|
String |
groupid
|
int |
maximumRecordSize
Override of preferredMessageSize for retrieval of exceptionally large records. |
String |
newpassword
|
String |
options
Negotiates whether specific features are available. |
String |
optionsSupported
|
String |
password
|
int |
preferredMessageSize
Preferred maximum size in bytes of responses to a PresentRequest. |
String |
protocolVersion
|
int |
referenceId
Value received in Request and returned in Response. |
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
|
DataDir |
userInformation
|
boolean |
wantsHost
|
Constructor Summary | |
Z39init(String weDo)
|
Method Summary | |
void |
Request(BerString request)
Processes a Z39.50 InitRequest |
void |
Request(DataDir request)
Processes a Z39.50 InitRequest. |
BerString |
Response(String host,
int port,
int result,
int failureCode,
String MessageOfTheDay,
String[] DBList,
String sessionId,
int extraLen,
int offset)
Creates a Z39.50 InitResponse |
String |
sessionId()
Returns the String containing the sessionId part from the input sessionID. |
String |
toString()
|
String |
txnId()
Returns the String containing the transaction id part from the input sessionID. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public int referenceId
public String sessionId
public String txnId
public String optionsSupported
public String protocolVersion
public boolean wantsHost
public String autho
public String password
public String newpassword
public String groupid
public DataDir userInformation
public int requestLength
public int responseLength
public String options
public int preferredMessageSize
public int maximumRecordSize
Constructor Detail |
public Z39init(String weDo)
Method Detail |
public String txnId()
public String sessionId()
public BerString Response(String host, int port, int result, int failureCode, String MessageOfTheDay, String[] DBList, String sessionId, int extraLen, int offset)
host
- the host connected toport
- the port connected toresult
- the result status of the initfailureCode
- the failure code for failed init requests.MessageOfTheDay
- the message of the day from the Z39.50 serverDbList
- the names of the databases the user has access toextraLen
- Allow this much extra room in the built BER record.offset
- Build the Request at this offset in the BerStringpublic void Request(BerString request)
request
- BerString containing request.public void Request(DataDir request)
request
- DataDir containing requestpublic String toString()
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |