Package org.zeromq
Class ZMQQueue
- java.lang.Object
-
- org.zeromq.ZMQQueue
-
-
Constructor Summary
Constructors Constructor Description ZMQQueue(ZMQ.Context context, ZMQ.Socket inSocket, ZMQ.Socket outSocket)Class constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Unregisters input and output sockets.voidrun()Queuing of requests and replies.
-
-
-
Constructor Detail
-
ZMQQueue
public ZMQQueue(ZMQ.Context context, ZMQ.Socket inSocket, ZMQ.Socket outSocket)
Class constructor.- Parameters:
context- a 0MQ context previously created.inSocket- input socketoutSocket- output socket
-
-
Method Detail
-
close
public void close() throws IOExceptionUnregisters input and output sockets.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-