Package zmq
Class Mailbox
- java.lang.Object
-
- zmq.Mailbox
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()java.nio.channels.SelectableChannelgetFd()Commandrecv(long timeout)voidsend(Command cmd)java.lang.StringtoString()
-
-
-
Constructor Detail
-
Mailbox
public Mailbox(Ctx ctx, java.lang.String name, int tid)
-
-
Method Detail
-
getFd
public java.nio.channels.SelectableChannel getFd()
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-