Constructor and Description |
---|
ZMQQueue(ZMQ.Context context,
ZMQ.Socket inSocket,
ZMQ.Socket outSocket)
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Unregisters input and output sockets.
|
void |
run()
Queuing of requests and replies.
|
public ZMQQueue(ZMQ.Context context, ZMQ.Socket inSocket, ZMQ.Socket outSocket)
context
- a 0MQ context previously created.inSocket
- input socketoutSocket
- output socketpublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException