public class IOThread extends ZObject implements IPollEvents, Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
acceptEvent() |
void |
close() |
void |
connectEvent() |
int |
getLoad() |
Mailbox |
getMailbox() |
Poller |
getPoller() |
void |
inEvent() |
void |
outEvent() |
protected void |
processStop() |
void |
start() |
void |
stop() |
void |
timerEvent(int id) |
chooseIoThread, destroySocket, findEndpoint, getCtx, getTid, processActivateRead, processActivateWrite, processAttach, processBind, processCommand, processHiccup, processOwn, processPipeTerm, processPipeTermAck, processPlug, processReap, processReaped, processSeqnum, processTerm, processTermAck, processTermReq, registerEndpoint, sendActivateRead, sendActivateWrite, sendAttach, sendAttach, sendBind, sendBind, sendDone, sendHiccup, sendOwn, sendPipeTerm, sendPipeTermAck, sendPlug, sendPlug, sendReap, sendReaped, sendStop, sendTerm, sendTermAck, sendTermReq, unregisterEndpointspublic IOThread(Ctx ctx, int tid)
public void start()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void stop()
public Mailbox getMailbox()
public int getLoad()
public void inEvent()
inEvent in interface IPollEventspublic void outEvent()
outEvent in interface IPollEventspublic void connectEvent()
connectEvent in interface IPollEventspublic void acceptEvent()
acceptEvent in interface IPollEventspublic void timerEvent(int id)
timerEvent in interface IPollEventspublic Poller getPoller()
protected void processStop()
processStop in class ZObjectCopyright © 2016. All rights reserved.