Package org.zeromq
Class ZMQQueue
- java.lang.Object
-
- org.zeromq.ZMQQueue
-
- All Implemented Interfaces:
java.lang.Runnable
public class ZMQQueue extends java.lang.Object implements java.lang.Runnable
-
-
Field Summary
Fields Modifier and Type Field Description private ZMQ.Socket
inSocket
private ZMQ.Socket
outSocket
-
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 void
run()
-
-
-
Field Detail
-
inSocket
private final ZMQ.Socket inSocket
-
outSocket
private final ZMQ.Socket outSocket
-
-
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
-
-