|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectakka.zeromq.Context
public class Context
Represents an I/O thread pool for ZeroMQ sockets. By default the ZeroMQ module uses an I/O thread pool with 1 thread. For most applications that should be sufficient
param: numIoThreads
Constructor Summary | |
---|---|
Context(int numIoThreads)
|
Method Summary | |
---|---|
static Context |
apply(int numIoThreads)
|
org.zeromq.ZMQ.Poller |
poller()
|
org.zeromq.ZMQ.Socket |
socket(SocketType.ZMQSocketType socketType)
|
void |
term()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Context(int numIoThreads)
Method Detail |
---|
public static Context apply(int numIoThreads)
public org.zeromq.ZMQ.Socket socket(SocketType.ZMQSocketType socketType)
public org.zeromq.ZMQ.Poller poller()
public void term()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |