|
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.Z39accessControl
Z39accessControl creates AccessControl Responses to send to the Z3950 server.
| Field Summary | |
AccessControl |
accessControl
AccessControl object created when an access control request is received. |
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. |
Z39session |
zsession
Z39session |
| Constructor Summary | |
Z39accessControl()
|
|
Z39accessControl(Z39session z)
|
|
| Method Summary | |
void |
doAccessControl(int referenceId,
AccessControl accessControlInfo)
Creates and sends a Z3950 AccessControl Response and receives the response to the original command from the server. |
void |
Response(BerString response)
|
void |
Response(DataDir dir)
|
BerString |
Response(int referenceId,
AccessControl accessControlInfo)
Creates a Z3950 AccessControl Response. |
BerString |
Response(int referenceId,
AccessControl accessControlInfo,
int extraLen,
int offset)
Creates a Z3950 AccessControl Response. |
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 AccessControl accessControl
public int requestLength
public int responseLength
public Z39session zsession
| Constructor Detail |
public Z39accessControl(Z39session z)
public Z39accessControl()
| Method Detail |
public void doAccessControl(int referenceId,
AccessControl accessControlInfo)
throws Exception,
Diagnostic1,
AccessControl
referenceId - Will be sent on the Response.accessControlInfo - AccessControl object containing the
response information.
public BerString Response(int referenceId,
AccessControl accessControlInfo)
referenceId - Will be sent on the Response.accessControlInfo - AccessControl object containing the
response information.
public BerString Response(int referenceId,
AccessControl accessControlInfo,
int extraLen,
int offset)
referenceId - Will be sent on the Response.accessControlInfo - AccessControl object containing the
response information.extraLen - Allow this much extra room in the built BER record.offset - Build the Request at this offset in the BerString
public void Response(BerString response)
throws AccessControl
public void Response(DataDir dir)
throws AccessControl
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 | |||||||||