|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.zeromq.ZMQ.Context
public static class ZMQ.Context
Inner class: Context.
Constructor Summary | |
---|---|
protected |
ZMQ.Context(int ioThreads)
Class constructor. |
Method Summary | |
---|---|
protected void |
construct(int ioThreads)
Initialize the JNI interface |
protected void |
finalize()
Free all resources used by JNI interface. |
ZMQ.Poller |
poller()
Deprecated. use Poller constructor |
ZMQ.Poller |
poller(int size)
Deprecated. use Poller constructor |
ZMQ.Socket |
socket(int type)
Create a new Socket within this context. |
void |
term()
This is an explicit "destructor". |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ZMQ.Context(int ioThreads)
ioThreads
- size of the threads pool to handle I/O operations.Method Detail |
---|
public void term()
public ZMQ.Socket socket(int type)
type
- the socket type.
public ZMQ.Poller poller()
public ZMQ.Poller poller(int size)
size
- the poller initial size.
protected void construct(int ioThreads)
protected void finalize()
finalize
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |