Package zmq

Class Options


  • public class Options
    extends java.lang.Object
    • 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
      • asServer

        public boolean asServer
      • zapDomain

        public java.lang.String zapDomain
      • plainUsername

        public java.lang.String plainUsername
      • plainPassword

        public java.lang.String plainPassword
      • 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
      • errno

        public final Errno errno
    • Constructor Detail

      • Options

        public Options()
    • Method Detail

      • setSocketOpt

        public boolean setSocketOpt​(int option,
                                    java.lang.Object optval)
      • allocator

        private MsgAllocator allocator​(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)