Class IOThread
java.lang.Object
zmq.ZObject
zmq.io.IOThread
- All Implemented Interfaces:
Closeable, AutoCloseable, IPollEvents
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Mailboxprivate final Poller.Handleprivate final Stringprivate final Poller -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ZObject
chooseIoThread, connectPending, destroySocket, findEndpoint, getCtx, getTid, pendConnection, processActivateRead, processActivateWrite, processAttach, processBind, processCancel, processHiccup, processOwn, processPipeTerm, processPipeTermAck, processPlug, processReap, processReapAck, processReaped, processSeqnum, processTerm, processTermAck, processTermReq, registerEndpoint, sendActivateRead, sendActivateWrite, sendAttach, sendAttach, sendBind, sendBind, sendCancel, sendDone, sendHiccup, sendInprocConnected, sendOwn, sendPipeTerm, sendPipeTermAck, sendPlug, sendPlug, sendReap, sendReapAck, sendReaped, sendStop, sendTerm, sendTermAck, sendTermReq, setTid, unregisterEndpoint, unregisterEndpointsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IPollEvents
acceptEvent, connectEvent, outEvent, timerEvent
-
Field Details
-
mailbox
-
mailboxHandle
-
poller
-
name
-
-
Constructor Details
-
IOThread
-
-
Method Details
-
start
public void start() -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
stop
public void stop() -
getMailbox
-
getLoad
public int getLoad() -
inEvent
public void inEvent()Description copied from interface:IPollEventsCalled by I/O thread when file descriptor is ready for reading.- Specified by:
inEventin interfaceIPollEvents
-
getPoller
Poller getPoller() -
processStop
protected void processStop()- Overrides:
processStopin classZObject
-