public class ZeroMQServerSocketOptions extends ServerSocketOptions
ServerSocketOptions that include ZeroMQ-specific configuration options.| Constructor and Description |
|---|
ZeroMQServerSocketOptions() |
| Modifier and Type | Method and Description |
|---|---|
org.zeromq.ZContext |
context()
Get the
ZMQ.Context to use for IO. |
ZeroMQServerSocketOptions |
context(org.zeromq.ZContext context)
Set the
ZMQ.Context to use for IO. |
java.lang.String |
listenAddresses() |
ZeroMQServerSocketOptions |
listenAddresses(java.lang.String listenAddresses) |
reactor.fn.Consumer<org.zeromq.ZMQ.Socket> |
socketConfigurer()
The
Consumer responsible for configuring the underlying ZeroMQ socket. |
ZeroMQServerSocketOptions |
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.
|
ZeroMQServerSocketOptions |
socketType(int socketType)
Set the type of ZMQ socket to create.
|
backlog, backlog, protocolFamily, protocolFamily, reuseAddr, reuseAddrkeepAlive, keepAlive, linger, linger, prefetch, prefetch, rcvbuf, rcvbuf, sndbuf, sndbuf, tcpNoDelay, tcpNoDelay, timeout, timeoutpublic org.zeromq.ZContext context()
ZMQ.Context to use for IO.ZMQ.Context to usepublic ZeroMQServerSocketOptions context(org.zeromq.ZContext context)
ZMQ.Context to use for IO.context - the ZMQ.Context to usepublic int socketType()
public ZeroMQServerSocketOptions 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 ZeroMQServerSocketOptions 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 listenAddresses()
public ZeroMQServerSocketOptions listenAddresses(java.lang.String listenAddresses)