public class TcpConnecter extends Own implements IPollEvents
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
delayedStart |
protected IOObject |
ioObject |
protected static int |
RECONNECT_TIMER_ID |
| Constructor and Description |
|---|
TcpConnecter(IOThread ioThread,
SessionBase session,
Options options,
Address addr,
boolean delayedStart) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
close() |
void |
connectEvent()
Called by I/O thread when file descriptor might be ready for connecting.
|
protected void |
destroy() |
void |
inEvent()
Called by I/O thread when file descriptor is ready for reading.
|
void |
outEvent()
Called by I/O thread when file descriptor is ready for writing.
|
protected void |
processPlug() |
protected void |
processTerm(int linger) |
void |
timerEvent(int id)
Called when timer expires.
|
String |
toString() |
incSeqnum, isTerminating, launchChild, processDestroy, processOwn, processSeqnum, processTermAck, processTermReq, termChild, terminatechooseIoThread, connectPending, destroySocket, findEndpoint, getCtx, getTid, pendConnection, processActivateRead, processActivateWrite, processAttach, processBind, processHiccup, processPipeTerm, processPipeTermAck, processReap, processReaped, processStop, registerEndpoint, sendActivateRead, sendActivateWrite, sendAttach, sendAttach, sendBind, sendBind, sendDone, sendHiccup, sendInprocConnected, sendOwn, sendPipeTerm, sendPipeTermAck, sendPlug, sendPlug, sendReap, sendReaped, sendStop, sendTerm, sendTermAck, sendTermReq, setTid, unregisterEndpoint, unregisterEndpointsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitacceptEventprotected static final int RECONNECT_TIMER_ID
protected final IOObject ioObject
protected final boolean delayedStart
public TcpConnecter(IOThread ioThread, SessionBase session, Options options, Address addr, boolean delayedStart)
protected void processPlug()
processPlug in class ZObjectprotected void processTerm(int linger)
processTerm in class Ownpublic void connectEvent()
IPollEventsconnectEvent in interface IPollEventspublic void timerEvent(int id)
IPollEventstimerEvent in interface IPollEventsid - the ID of the expired timer.protected void close()
public void inEvent()
IPollEventsinEvent in interface IPollEventspublic void outEvent()
IPollEventsoutEvent in interface IPollEventsCopyright © 2020. All rights reserved.