Class StreamEngine
java.lang.Object
zmq.io.StreamEngine
- All Implemented Interfaces:
IEngine, IPollEvents
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()voidinEvent()Called by I/O thread when file descriptor is ready for reading.voidoutEvent()Called by I/O thread when file descriptor is ready for writing.voidplug(IOThread ioThread, SessionBase session) voidvoidvoidvoidtimerEvent(int id) Called when timer expires.toString()voidMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface IPollEvents
acceptEvent, connectEvent
-
Constructor Details
-
StreamEngine
-
-
Method Details
-
destroy
public void destroy() -
plug
-
terminate
-
inEvent
public void inEvent()Description copied from interface:IPollEventsCalled by I/O thread when file descriptor is ready for reading.- Specified by:
inEventin interfaceIPollEvents
-
outEvent
public void outEvent()Description copied from interface:IPollEventsCalled by I/O thread when file descriptor is ready for writing.- Specified by:
outEventin interfaceIPollEvents
-
restartOutput
public void restartOutput()- Specified by:
restartOutputin interfaceIEngine
-
restartInput
public void restartInput()- Specified by:
restartInputin interfaceIEngine
-
zapMsgAvailable
public void zapMsgAvailable()- Specified by:
zapMsgAvailablein interfaceIEngine
-
timerEvent
public void timerEvent(int id) Description copied from interface:IPollEventsCalled when timer expires.- Specified by:
timerEventin interfaceIPollEvents- Parameters:
id- the ID of the expired timer.
-
getEndPoint
- Specified by:
getEndPointin interfaceIEngine
-
toString
-