com.k_int.z3950.IRClient
Class Z3950Origin
java.lang.Object
|
+--com.k_int.z3950.IRClient.Z3950Origin
- All Implemented Interfaces:
- APDUListener, java.util.EventListener, Searchable
- public class Z3950Origin
- extends java.lang.Object
- implements APDUListener, Searchable
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Z3950Origin
public Z3950Origin()
finalize
protected void finalize()
- Overrides:
finalize in class java.lang.Object
init
public void init(java.util.Properties p)
- init.
Connection properties know by this object:
"ServiceHost" : Host to connect to
"ServicePort" : Port on which to connect
"service_short_name" : Short name for the target
"service_long_name", : Long name for the target
"default_record_syntax" : Default record syntax to ask for
Authentication properties
"service_auth_type" : What kind of authentication to use (0=none,1=anonymous,2=open string,3=idpass)
"service_user_principal" : username or open string
"service_user_group" : group
"service_user_credentials" : password
- Specified by:
init in interface Searchable
destroy
public void destroy()
- Description copied from interface:
Searchable
- destroy the searchable object. Shut down the searchable object entirely. Release all
held resources, make the object ready for GC. Try to release in here instead of on finalize.
- Specified by:
destroy in interface Searchable
getManagerType
public int getManagerType()
- Description copied from interface:
Searchable
- Provide information about the type of Searchable object this realisation is
- Specified by:
getManagerType in interface Searchable
- Following copied from interface:
com.k_int.IR.Searchable
- See Also:
Searchable.SPECIFIC_SOURCE,
Searchable.GROUP_COORDINATOR
createTask
public SearchTask createTask(IRQuery q,
java.lang.Object user_data)
- Description copied from interface:
Searchable
- Create a SearchTask. Evaluate the query with the Tasks evaluate method.
- Specified by:
createTask in interface Searchable
createTask
public SearchTask createTask(IRQuery q,
java.lang.Object user_info,
java.util.Observer[] observers)
- Generic search entry point.
- Specified by:
createTask in interface Searchable
evaluateTask
public void evaluateTask(SearchTask st,
int wait_for)
fetchRecords
public PresentResponse_type fetchRecords(java.lang.String task_id,
int start,
int count,
int wait_for)
incomingAPDU
public void incomingAPDU(APDUEvent e)
- Specified by:
incomingAPDU in interface APDUListener
incomingInitResponse
public void incomingInitResponse(APDUEvent e)
- Specified by:
incomingInitResponse in interface APDUListener
incomingSearchResponse
public void incomingSearchResponse(APDUEvent e)
- Specified by:
incomingSearchResponse in interface APDUListener
incomingPresentResponse
public void incomingPresentResponse(APDUEvent e)
- Specified by:
incomingPresentResponse in interface APDUListener
incomingDeleteResultSetResponse
public void incomingDeleteResultSetResponse(APDUEvent e)
- Specified by:
incomingDeleteResultSetResponse in interface APDUListener
incomingAccessControlRequest
public void incomingAccessControlRequest(APDUEvent e)
- Specified by:
incomingAccessControlRequest in interface APDUListener
incomingAccessControlResponse
public void incomingAccessControlResponse(APDUEvent e)
incomingResourceControlRequest
public void incomingResourceControlRequest(APDUEvent e)
incomingResourceControlResponse
public void incomingResourceControlResponse(APDUEvent e)
- Specified by:
incomingResourceControlResponse in interface APDUListener
incomingTriggerResourceControlRequest
public void incomingTriggerResourceControlRequest(APDUEvent e)
incomingResourceReportRequest
public void incomingResourceReportRequest(APDUEvent e)
incomingResourceReportResponse
public void incomingResourceReportResponse(APDUEvent e)
- Specified by:
incomingResourceReportResponse in interface APDUListener
incomingScanRequest
public void incomingScanRequest(APDUEvent e)
incomingScanResponse
public void incomingScanResponse(APDUEvent e)
- Specified by:
incomingScanResponse in interface APDUListener
incomingSortRequest
public void incomingSortRequest(APDUEvent e)
incomingSortResponse
public void incomingSortResponse(APDUEvent e)
- Specified by:
incomingSortResponse in interface APDUListener
incomingSegmentRequest
public void incomingSegmentRequest(APDUEvent e)
incomingExtendedServicesRequest
public void incomingExtendedServicesRequest(APDUEvent e)
incomingExtendedServicesResponse
public void incomingExtendedServicesResponse(APDUEvent e)
- Specified by:
incomingExtendedServicesResponse in interface APDUListener
incomingClose
public void incomingClose(APDUEvent e)
- Specified by:
incomingClose in interface APDUListener
waitForResponse
public java.lang.Object waitForResponse(java.lang.String refid,
int timeout)
throws TimeoutExceededException
getTargetDN
public java.lang.String getTargetDN()
Copyright © 2001 Knowledge Integration Ltd. All Rights Reserved.