Class Signaler
java.lang.Object
zmq.Signaler
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Ctxprivate final Errnoprivate final intprivate final Pipe.SourceChannelprivate longprivate final ByteBufferprivate final Selectorprivate final Pipe.SinkChannelprivate final AtomicLongprivate final ByteBuffer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()(package private) SelectableChannelgetFd()private <O> OmaksInterrupt(Signaler.IoOperation<O> operation) (package private) voidrecv()(package private) voidsend()toString()(package private) booleanwaitEvent(long timeout)
-
Field Details
-
w
-
r
-
selector
-
wdummy
-
rdummy
-
wcursor
-
rcursor
private long rcursor -
errno
-
pid
private final int pid -
ctx
-
-
Constructor Details
-
Signaler
-
-
Method Details
-
maksInterrupt
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getFd
SelectableChannel getFd() -
send
void send() -
waitEvent
boolean waitEvent(long timeout) -
recv
void recv() -
toString
-