akka.zeromq
Class Context

java.lang.Object
  extended by akka.zeromq.Context
All Implemented Interfaces:
Request, SocketMeta, SocketOption

public class Context
extends java.lang.Object
implements SocketMeta

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

Context

public Context(int numIoThreads)
Method Detail

apply

public static Context apply(int numIoThreads)

socket

public org.zeromq.ZMQ.Socket socket(SocketType.ZMQSocketType socketType)

poller

public org.zeromq.ZMQ.Poller poller()

term

public void term()