|
||||||||||
| 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.TCPConnector
public class TCPConnector
| Field Summary | |
|---|---|
static String |
PARAM_SYSTEM_TCP_BACKLOG
|
static String |
PARAM_TCP_BACKLOG
|
| Fields inherited from class com.ibm.di.connector.Connector |
|---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
| Fields inherited from interface com.ibm.di.server.CheckpointRestartInterface |
|---|
RESTART_AFTER, RESTART_BEFORE, RESTART_IN |
| Constructor Summary | |
|---|---|
TCPConnector()
|
|
| Method Summary | |
|---|---|
Certificate[] |
getCertificates()
Returns the Certificates of the peer. |
Entry |
getCheckpointInformation()
Returns the state information for the connector. |
Entry |
getNextEntry()
Returns the next Entry from the connector. |
Reader |
getReader()
|
Socket |
getSocket()
Returns the Socket we are reading from or writing to |
String |
getVersion()
Return version information |
Writer |
getWriter()
|
void |
initialize(Object o)
Initialize the connector. |
boolean |
isCheckpointRestartEnabled(int mode)
Components that support checkpoint/restart for a specific mode must return TRUE from this method. |
void |
prepareForRestart(ALState state,
Entry restartInfo,
int restartPoint)
Notifies the connector of a restart situation. |
void |
putEntry(Entry entry)
Adds a new entry to the data source |
void |
selectEntries()
Prepare the Connector for sequential read. |
void |
terminate()
Terminate the connector. |
| 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, getNextClient, getNextFindEntry, getParam, getPushbackEntry, getRawConnectorConfiguration, isDeltaSupported, isExceptionFatal, isIOException, modEntry, modEntry, pushback, queryOperations, queryReply, querySchema, reconnect, registerScriptBeans, replyEntry, setConfiguration, setContext, setCurrent, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface, terminateServer |
| Field Detail |
|---|
public static final String PARAM_TCP_BACKLOG
public static final String PARAM_SYSTEM_TCP_BACKLOG
| Constructor Detail |
|---|
public TCPConnector()
| Method Detail |
|---|
public void selectEntries()
throws Exception
Connector
selectEntries in interface ConnectorInterfaceselectEntries in class ConnectorExceptionpublic void terminate()
Connector
terminate in interface ConnectorInterfaceterminate in class Connector
public void initialize(Object o)
throws Exception
Connector
initialize in interface ConnectorInterfaceinitialize in class Connectoro - User provided parameter
Exception
public Entry getNextEntry()
throws Exception
getNextEntry in interface ConnectorInterfacegetNextEntry in class ConnectorExceptionselectEntries()
public void putEntry(Entry entry)
throws Exception
Connector
putEntry in interface ConnectorInterfaceputEntry in class Connectorentry - The entry data to add
Exception - Any exceptions thrown by the connector's underlying classespublic Reader getReader()
public Writer getWriter()
public boolean isCheckpointRestartEnabled(int mode)
isCheckpointRestartEnabled in interface CheckpointRestartInterfacemode - The mode the connector runs in
ServerConstants
public Entry getCheckpointInformation()
throws Exception
getCheckpointInformation in interface CheckpointRestartInterfaceException
public void prepareForRestart(ALState state,
Entry restartInfo,
int restartPoint)
throws Exception
prepareForRestart in interface CheckpointRestartInterfacerestartInfo - The last entry object returned by the connector in the getCheckpointInformation methodstate - The ALState object for the AssemblyLinerestartPoint - The relative point where restarting is taking place (e.g. RESTART_BEFORE ...)
Exceptionpublic Socket getSocket()
public Certificate[] getCertificates()
throws SSLPeerUnverifiedException
getSocket().getSession().getPeerCertificates();
SSLPeerUnverifiedException - if the peer's identity has not been verifiedpublic String getVersion()
getVersion in interface VersionInfoInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||