Package zmq

Class Options

java.lang.Object
zmq.Options

public class Options extends Object
  • Field Details

    • sendHwm

      public int sendHwm
    • recvHwm

      public int recvHwm
    • affinity

      public long affinity
    • identitySize

      public byte identitySize
    • identity

      public byte[] identity
    • lastEndpoint

      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 String socksProxyAddress
    • tcpKeepAlive

      public int tcpKeepAlive
    • tcpKeepAliveCnt

      public int tcpKeepAliveCnt
    • tcpKeepAliveIdle

      public int tcpKeepAliveIdle
    • tcpKeepAliveIntvl

      public int tcpKeepAliveIntvl
    • tcpAcceptFilters

      public final List<TcpAddress.TcpAddressMask> tcpAcceptFilters
    • ipcAcceptFilters

      final List<IpcAddress.IpcAddressMask> ipcAcceptFilters
    • mechanism

      public Mechanisms mechanism
    • asServer

      public boolean asServer
    • zapDomain

      public String zapDomain
    • plainUsername

      public String plainUsername
    • plainPassword

      public String plainPassword
    • CURVE_KEYSIZE

      public static final int CURVE_KEYSIZE
      See Also:
    • CURVE_KEYSIZE_Z85

      public static final int CURVE_KEYSIZE_Z85
      See Also:
    • curvePublicKey

      public byte[] curvePublicKey
    • curveSecretKey

      public byte[] curveSecretKey
    • curveServerKey

      public byte[] curveServerKey
    • gssPrincipal

      String gssPrincipal
    • gssServicePrincipal

      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 Class<? extends IDecoder> decoder
    • encoder

      public Class<? extends IEncoder> encoder
    • allocator

      public MsgAllocator allocator
    • selectorChooser

      public SelectorProviderChooser selectorChooser
    • errno

      public final Errno errno
  • Constructor Details

    • Options

      public Options()
  • Method Details

    • setSocketOpt

      public boolean setSocketOpt(int option, Object optval)
    • allocator

      private MsgAllocator allocator(Class<?> clazz)
    • chooser

      private SelectorProviderChooser chooser(Class<?> clazz)
    • checkCustomCodec

      private <T> Class<? extends T> checkCustomCodec(Object optval, Class<T> type)
    • setCurveKey

      private byte[] setCurveKey(int option, Object optval, ValueReference<Boolean> result)
    • getSocketOpt

      public Object getSocketOpt(int option)
    • parseBoolean

      public static boolean parseBoolean(int option, Object optval)
    • parseString

      public static String parseString(int option, Object optval)
    • parseBytes

      public static byte[] parseBytes(int option, Object optval)