|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.connector.Connector
com.ibm.di.connector.maximo.TpaeIFCDConnector
public class TpaeIFCDConnector
The Tpae IF Change Detection Connector listens on specified TCP port for HTTP
requests. This connector returns hierarchical entries and supports only
Server mode. The connector uses internally HTTPServerConnector and
XMLParser2 for parsing the received XML representation of the actual
MBO.
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.connector.Connector |
|---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
| Constructor Summary | |
|---|---|
TpaeIFCDConnector()
Default constructor. |
|
| Method Summary | |
|---|---|
ConnectorInterface |
getNextClient()
Server mode - return a clone of self that handles the next client instance when running in server mode. |
Entry |
getNextEntry()
Returns the next Entry from the connector. |
java.lang.String |
getVersion()
Version information. |
void |
initialize(java.lang.Object obj)
Initialize the connector. |
void |
selectEntries()
Prepare the Connector for sequential read. |
void |
terminate()
Terminate the connector. |
void |
terminateServer()
Stop servicing clients. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.ibm.di.connector.ConnectorInterface |
|---|
deleteEntry, findEntry, getConfiguration, getContext, getFindEntryCount, getFirstFindEntry, getMaxDuplicateEntries, getName, getNextFindEntry, getParam, getPushbackEntry, getRawConnectorConfiguration, isDeltaSupported, isExceptionFatal, isIOException, modEntry, modEntry, pushback, putEntry, queryOperations, queryReply, querySchema, reconnect, registerScriptBeans, replyEntry, setConfiguration, setContext, setCurrent, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface |
| Constructor Detail |
|---|
public TpaeIFCDConnector()
| Method Detail |
|---|
public void initialize(java.lang.Object obj)
throws java.lang.Exception
initialize in interface ConnectorInterfaceinitialize in class Connectorobj - User provided parameter
java.lang.Exception - if the initialization of this connector fails.
public ConnectorInterface getNextClient()
throws java.lang.Exception
getNextClient in interface ConnectorInterfacegetNextClient in class Connectorjava.lang.Exception - if an error occurs.
public void selectEntries()
throws java.lang.Exception
selectEntries in interface ConnectorInterfaceselectEntries in class Connectorjava.lang.Exception - if an error occurs.
public Entry getNextEntry()
throws java.lang.Exception
Example:
var ctor = input.getConnector();
var entry = ctor.getNextEntry();
for (; entry != null; entry = ctor.getNextEntry()) {
main.logmsg("Read entry...");
main.dumpEntry(entry);
}
getNextEntry in interface ConnectorInterfacegetNextEntry in class Connectorjava.lang.Exception - if an error occurs.ConnectorInterface.selectEntries()
public void terminateServer()
throws java.lang.Exception
terminateServer in interface ConnectorInterfaceterminateServer in class Connectorjava.lang.Exception - if an error occurs.
public void terminate()
throws java.lang.Exception
terminate in interface ConnectorInterfaceterminate in class Connectorjava.lang.Exception - if an error occurs.public java.lang.String getVersion()
getVersion in interface VersionInfoInterface
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||