Constructor | Description |
---|---|
ZMQQueue(ZMQ.Context context,
ZMQ.Socket inSocket,
ZMQ.Socket outSocket) |
Class constructor.
|
Modifier and Type | Method | 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 AutoCloseable
close
in interface Closeable
IOException