Package zmq.poll
Interface IPollEvents
-
- All Known Implementing Classes:
Dealer
,IOObject
,IOThread
,IpcConnecter
,IpcListener
,Pair
,Pub
,Pull
,Push
,Reaper
,Rep
,Req
,Req.ReqSession
,Router
,SessionBase
,SocketBase
,SocksConnecter
,Stream
,StreamEngine
,Sub
,TcpConnecter
,TcpListener
,TipcConnecter
,TipcListener
,XPub
,XSub
public interface IPollEvents
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
acceptEvent()
Called by I/O thread when file descriptor is ready for accept.default void
connectEvent()
Called by I/O thread when file descriptor might be ready for connecting.default void
inEvent()
Called by I/O thread when file descriptor is ready for reading.default void
outEvent()
Called by I/O thread when file descriptor is ready for writing.default void
timerEvent(int id)
Called when timer expires.
-
-
-
Method Detail
-
inEvent
default void inEvent()
Called by I/O thread when file descriptor is ready for reading.
-
outEvent
default void outEvent()
Called by I/O thread when file descriptor is ready for writing.
-
connectEvent
default void connectEvent()
Called by I/O thread when file descriptor might be ready for connecting.
-
acceptEvent
default void acceptEvent()
Called by I/O thread when file descriptor is ready for accept.
-
timerEvent
default void timerEvent(int id)
Called when timer expires.- Parameters:
id
- the ID of the expired timer.
-
-