Package zmq
Class Options
- java.lang.Object
-
- zmq.Options
-
public class Options extends java.lang.Object
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Options()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private MsgAllocator
allocator(java.lang.Class<?> clazz)
private <T> java.lang.Class<? extends T>
checkCustomCodec(java.lang.Object optval, java.lang.Class<T> type)
private SelectorProviderChooser
chooser(java.lang.Class<?> clazz)
java.lang.Object
getSocketOpt(int option)
static boolean
parseBoolean(int option, java.lang.Object optval)
static byte[]
parseBytes(int option, java.lang.Object optval)
static java.lang.String
parseString(int option, java.lang.Object optval)
private byte[]
setCurveKey(int option, java.lang.Object optval, ValueReference<java.lang.Boolean> result)
boolean
setSocketOpt(int option, java.lang.Object optval)
-
-
-
Field Detail
-
sendHwm
public int sendHwm
-
recvHwm
public int recvHwm
-
affinity
public long affinity
-
identitySize
public byte identitySize
-
identity
public byte[] identity
-
lastEndpoint
java.lang.String lastEndpoint
-
rate
int rate
-
recoveryIvl
int recoveryIvl
-
multicastHops
int multicastHops
-
sndbuf
public int sndbuf
-
rcvbuf
public int rcvbuf
-
tos
public int tos
-
type
public int type
-
linger
public int linger
-
reconnectIvl
public int reconnectIvl
-
reconnectIvlMax
public int reconnectIvlMax
-
backlog
public int backlog
-
maxMsgSize
public long maxMsgSize
-
recvTimeout
int recvTimeout
-
sendTimeout
int sendTimeout
-
ipv6
public boolean ipv6
-
immediate
public boolean immediate
-
filter
public boolean filter
-
recvIdentity
public boolean recvIdentity
-
rawSocket
public boolean rawSocket
-
socksProxyAddress
public java.lang.String socksProxyAddress
-
tcpKeepAlive
public int tcpKeepAlive
-
tcpKeepAliveCnt
public int tcpKeepAliveCnt
-
tcpKeepAliveIdle
public int tcpKeepAliveIdle
-
tcpKeepAliveIntvl
public int tcpKeepAliveIntvl
-
tcpAcceptFilters
public final java.util.List<TcpAddress.TcpAddressMask> tcpAcceptFilters
-
ipcAcceptFilters
final java.util.List<IpcAddress.IpcAddressMask> ipcAcceptFilters
-
mechanism
public Mechanisms mechanism
-
asServer
public boolean asServer
-
zapDomain
public java.lang.String zapDomain
-
plainUsername
public java.lang.String plainUsername
-
plainPassword
public java.lang.String plainPassword
-
CURVE_KEYSIZE
public static final int CURVE_KEYSIZE
- See Also:
- Constant Field Values
-
CURVE_KEYSIZE_Z85
public static final int CURVE_KEYSIZE_Z85
- See Also:
- Constant Field Values
-
curvePublicKey
public byte[] curvePublicKey
-
curveSecretKey
public byte[] curveSecretKey
-
curveServerKey
public byte[] curveServerKey
-
gssPrincipal
java.lang.String gssPrincipal
-
gssServicePrincipal
java.lang.String gssServicePrincipal
-
gssPlaintext
boolean gssPlaintext
-
socketId
public int socketId
-
conflate
public boolean conflate
-
handshakeIvl
public int handshakeIvl
-
heartbeatTtl
public int heartbeatTtl
-
heartbeatInterval
public int heartbeatInterval
-
heartbeatTimeout
public int heartbeatTimeout
-
heartbeatContext
public byte[] heartbeatContext
-
decoder
public java.lang.Class<? extends IDecoder> decoder
-
encoder
public java.lang.Class<? extends IEncoder> encoder
-
allocator
public MsgAllocator allocator
-
selectorChooser
public SelectorProviderChooser selectorChooser
-
errno
public final Errno errno
-
-
Method Detail
-
setSocketOpt
public boolean setSocketOpt(int option, java.lang.Object optval)
-
allocator
private MsgAllocator allocator(java.lang.Class<?> clazz)
-
chooser
private SelectorProviderChooser chooser(java.lang.Class<?> clazz)
-
checkCustomCodec
private <T> java.lang.Class<? extends T> checkCustomCodec(java.lang.Object optval, java.lang.Class<T> type)
-
setCurveKey
private byte[] setCurveKey(int option, java.lang.Object optval, ValueReference<java.lang.Boolean> result)
-
getSocketOpt
public java.lang.Object getSocketOpt(int option)
-
parseBoolean
public static boolean parseBoolean(int option, java.lang.Object optval)
-
parseString
public static java.lang.String parseString(int option, java.lang.Object optval)
-
parseBytes
public static byte[] parseBytes(int option, java.lang.Object optval)
-
-