Class ZMQ.Event
java.lang.Object
zmq.ZMQ.Event
- Enclosing class:
ZMQ
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChannel(SocketBase socket) Resolve the channel that was associated with this event.static ZMQ.Eventread(SocketBase s) static ZMQ.Eventread(SocketBase s, int flags) booleanwrite(SocketBase s)
-
Field Details
-
event
public final int event -
addr
-
arg
-
-
Constructor Details
-
Event
-
-
Method Details
-
write
-
getChannel
Resolve the channel that was associated with this event. Implementation note: to be backward compatible,argonly store Integer value, so the channel is resolved using this call.Internally socket are kept using weak values, so it's better to retrieve the channel as early as possible, otherwise it might get lost.
- Parameters:
socket- the socket that send the event- Returns:
- the channel in the event, or null if was not a channel event.
-
read
-
read
-