public class TcpListener extends Own implements IPollEvents
| Constructor and Description |
|---|
TcpListener(IOThread ioThread,
SocketBase socket,
Options options) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptEvent() |
void |
connectEvent() |
void |
destroy() |
String |
getAddress() |
void |
inEvent() |
void |
outEvent() |
protected void |
processPlug() |
protected void |
processTerm(int linger) |
boolean |
setAddress(String addr) |
void |
timerEvent(int id) |
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, unregisterEndpointspublic TcpListener(IOThread ioThread, SocketBase socket, Options options)
protected void processPlug()
processPlug in class ZObjectprotected void processTerm(int linger)
processTerm in class Ownpublic void acceptEvent()
acceptEvent in interface IPollEventspublic String getAddress()
public boolean setAddress(String addr)
public void inEvent()
inEvent in interface IPollEventspublic void outEvent()
outEvent in interface IPollEventspublic void connectEvent()
connectEvent in interface IPollEventspublic void timerEvent(int id)
timerEvent in interface IPollEventsCopyright © 2017. All rights reserved.