|
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.Z39extsvc
Z39extsvc creates extended services requests with an already formulated task package as input and translates responses.
Field Summary | |
AccessControl |
accessControl
AccessControl object created when an access control request is received. |
DataDir |
diagnostics
The DataDir diagnostics received in the extended services response |
int |
errorCode
Error code if Request failed. |
String |
errorMsg
Error message if Request failed. |
DataDir |
otherInformation
The DataDir object containing the response OtherInformation data. |
String |
packageType
The ExtendedServices packageType oid. |
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. |
int |
status
Status code for response. |
DataDir |
taskPackage
The TaskPackage DataDir. |
Z39session |
zsession
Z39session |
Constructor Summary | |
Z39extsvc()
|
|
Z39extsvc(Z39session z)
|
Method Summary | |
void |
doExtSvc(int referenceId,
int function,
String oid,
DataDir taskPackage,
String userName,
String description,
String packageName,
int waitAction,
int retentionTimeValue,
String retentionUnitSystem,
String retentionUnitType,
String retentionUnit,
int retentionScaleFactor,
int allowableFunctionForPermissions,
String elementSetName,
DataDir otherInformation,
String otherInformationOID)
Creates and sends a Z39.50 ExtendedServices Request, gets and processes the Z39.50 response |
BerString |
Request(int referenceId,
int function,
String oid,
DataDir taskPackage,
String userName,
String description,
String packageName,
int waitAction)
Creates a Z39.50 ExtendedServices Request. |
BerString |
Request(int referenceId,
int function,
String oid,
DataDir taskPackage,
String userName,
String description,
String packageName,
int waitAction,
int extraLen,
int offset)
Creates a Z39.50 ExtendedServices Request. |
BerString |
Request(int referenceId,
int function,
String oid,
DataDir taskPackage,
String userName,
String description,
String packageName,
int waitAction,
int retentionTimeValue,
String retentionUnitSystem,
String retentionUnitType,
String retentionUnit,
int retentionScaleFactor,
int allowableFunctionForPermissions,
String elementSetName,
DataDir otherInformation,
String otherInformationOID,
int extraLen,
int offset)
Creates a Z39.50 ExtendedServices Request. |
void |
Response(BerString response)
|
void |
Response(DataDir 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 int status
public DataDir diagnostics
public int errorCode
public String errorMsg
public DataDir taskPackage
public DataDir otherInformation
public String packageType
public int requestLength
public int responseLength
public AccessControl accessControl
public Z39session zsession
Constructor Detail |
public Z39extsvc(Z39session z)
public Z39extsvc()
Method Detail |
public void doExtSvc(int referenceId, int function, String oid, DataDir taskPackage, String userName, String description, String packageName, int waitAction, int retentionTimeValue, String retentionUnitSystem, String retentionUnitType, String retentionUnit, int retentionScaleFactor, int allowableFunctionForPermissions, String elementSetName, DataDir otherInformation, String otherInformationOID) throws Exception, Diagnostic1, AccessControl
referenceId
- Will be returned on Response.function
- the extended services functionoid
- the Extended Services ObjectIdtaskPackage
- the DataDir with the pre-build taskPackageuserName
- optional string to identify the userdescription
- optional string describing the actionpackageName
- optional string to identifying the packagewaitAction
- optional value for the Extended Services wait actionallowableFunctionForPermissions
- one of the valid allowable function
settings for the permission - optionalelementSetName
- the optional ElementSetName for the requestotherInformation
- the DataDir object containing the otherInformation
field - optionalotherInformationOID
- the OID for the otherInformation field - optionalpublic BerString Request(int referenceId, int function, String oid, DataDir taskPackage, String userName, String description, String packageName, int waitAction)
referenceId
- Will be returned on Response.function
- the extended services functionoid
- the Extended Services ObjectIdtaskPackage
- the DataDir with the pre-build taskPackageuserName
- optional string to identify the userdescription
- optional string describing the actionpackageName
- optional string to identifying the packagewaitAction
- optional value for the Extended Services wait actionpublic BerString Request(int referenceId, int function, String oid, DataDir taskPackage, String userName, String description, String packageName, int waitAction, int extraLen, int offset)
referenceId
- Will be returned on Response.function
- the extended services functionoid
- the Extended Services ObjectIdtaskPackage
- the DataDir with the pre-build taskPackageuserName
- optional string to identify the userdescription
- optional string describing the actionpackageName
- optional string to identifying the packagewaitAction
- optional value for the Extended Services wait actionextraLen
- Allow this much extra room in the built BER record.offset
- Build the Request at this offset in the BerStringpublic BerString Request(int referenceId, int function, String oid, DataDir taskPackage, String userName, String description, String packageName, int waitAction, int retentionTimeValue, String retentionUnitSystem, String retentionUnitType, String retentionUnit, int retentionScaleFactor, int allowableFunctionForPermissions, String elementSetName, DataDir otherInformation, String otherInformationOID, int extraLen, int offset)
referenceId
- Will be returned on Response.function
- the extended services functionoid
- the Extended Services ObjectIdtaskPackage
- the DataDir with the pre-build taskPackageuserName
- optional string to identify the userdescription
- optional string describing the actionpackageName
- optional string to identifying the packagewaitAction
- optional value for the Extended Services wait actionallowableFunctionForPermissions
- one of the valid allowable function
settings for the permission - optionalelementSetName
- the optional ElementSetName for the requestotherInformation
- the DataDir object containing the otherInformation
field - optionalotherInformationOID
- the OID for the otherInformation field - optionalextraLen
- Allow this much extra room in the built BER record.offset
- Build the Request at this offset in the BerStringpublic void Response(BerString response) throws AccessControl
public void Response(DataDir response) 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 |