public class ZeroMQClientSocketOptions extends ClientSocketOptions
ClientSocketOptions that include ZeroMQ-specific configuration options.| Constructor and Description |
|---|
ZeroMQClientSocketOptions() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
connectAddresses() |
ZeroMQClientSocketOptions |
connectAddresses(java.lang.String connectAddresses) |
org.zeromq.ZContext |
context()
Get the
ZContext to use for IO. |
ZeroMQClientSocketOptions |
context(org.zeromq.ZContext context)
Set the
ZContext to use for IO. |
reactor.fn.Consumer<org.zeromq.ZMQ.Socket> |
socketConfigurer()
The
Consumer responsible for configuring the underlying ZeroMQ socket. |
ZeroMQClientSocketOptions |
socketConfigurer(reactor.fn.Consumer<org.zeromq.ZMQ.Socket> socketConfigurer)
Set the
Consumer responsible for configure the underlying ZeroMQ socket. |
int |
socketType()
The type of the ZMQ socket to create.
|
ZeroMQClientSocketOptions |
socketType(int socketType)
Set the type of ZMQ socket to create.
|
keepAlive, keepAlive, linger, linger, prefetch, prefetch, rcvbuf, rcvbuf, sndbuf, sndbuf, tcpNoDelay, tcpNoDelay, timeout, timeoutpublic org.zeromq.ZContext context()
ZContext to use for IO.ZContext to usepublic ZeroMQClientSocketOptions context(org.zeromq.ZContext context)
ZContext to use for IO.context - the ZContext to usepublic int socketType()
public ZeroMQClientSocketOptions socketType(int socketType)
socketType - the ZMQ socket typepublic reactor.fn.Consumer<org.zeromq.ZMQ.Socket> socketConfigurer()
Consumer responsible for configuring the underlying ZeroMQ socket.public ZeroMQClientSocketOptions socketConfigurer(reactor.fn.Consumer<org.zeromq.ZMQ.Socket> socketConfigurer)
Consumer responsible for configure the underlying ZeroMQ socket.socketConfigurer - the ZMQ.Socket configurerpublic java.lang.String connectAddresses()
public ZeroMQClientSocketOptions connectAddresses(java.lang.String connectAddresses)