Interface CAConstants


  • public interface CAConstants
    CA constants.
    Version:
    $id$
    Author:
    Matej Sekoranja
    • Field Detail

      • CA_MAJOR_PROTOCOL_REVISION

        static final short CA_MAJOR_PROTOCOL_REVISION
        CA protocol major revision (implemented by this library).
        See Also:
        Constant Field Values
      • CA_MINOR_PROTOCOL_REVISION

        static final short CA_MINOR_PROTOCOL_REVISION
        CAC (client) protocol minor revision (implemented by this library).
        See Also:
        Constant Field Values
      • CAS_MINOR_PROTOCOL_REVISION

        static final short CAS_MINOR_PROTOCOL_REVISION
        CAS (server) protocol minor revision (implemented by this library).
        See Also:
        Constant Field Values
      • CA_UNKNOWN_MINOR_PROTOCOL_REVISION

        static final short CA_UNKNOWN_MINOR_PROTOCOL_REVISION
        Unknown CA protocol minor revision.
        See Also:
        Constant Field Values
      • CA_SERVER_PORT

        static final int CA_SERVER_PORT
        Default CA server port.
        See Also:
        Constant Field Values
      • CA_REPEATER_PORT

        static final int CA_REPEATER_PORT
        Default CA repeater port.
        See Also:
        Constant Field Values
      • CA_MESSAGE_HEADER_SIZE

        static final short CA_MESSAGE_HEADER_SIZE
        CA protocol message header size.
        See Also:
        Constant Field Values
      • CA_EXTENDED_MESSAGE_HEADER_SIZE

        static final short CA_EXTENDED_MESSAGE_HEADER_SIZE
        CA protocol message extedned header size.
        See Also:
        Constant Field Values
      • MAX_UDP_SEND

        static final int MAX_UDP_SEND
        UDP maximum send message size. MAX_UDP: 1500 (max of ethernet and 802.{2,3} MTU) - 20(IP) - 8(UDP) (the MTU of Ethernet is currently independent of its speed varient)
        See Also:
        Constant Field Values
      • MAX_UDP_RECV

        static final int MAX_UDP_RECV
        UDP maximum receive message size.
        See Also:
        Constant Field Values
      • MAX_TCP_RECV

        static final int MAX_TCP_RECV
        TCP maximum receive message size.
        See Also:
        Constant Field Values
      • CA_DEFAULT_PRIORITY

        static final short CA_DEFAULT_PRIORITY
        Default priority (corresponds to POSIX SCHED_OTHER)
        See Also:
        Constant Field Values
      • CA_PROTO_ACCESS_RIGHT_READ

        static final int CA_PROTO_ACCESS_RIGHT_READ
        Read access right mask.
        See Also:
        Constant Field Values
      • CA_PROTO_ACCESS_RIGHT_WRITE

        static final int CA_PROTO_ACCESS_RIGHT_WRITE
        Write access right mask.
        See Also:
        Constant Field Values
      • CA_SEARCH_DONTREPLY

        static final short CA_SEARCH_DONTREPLY
        Do not require response for CA search request.
        See Also:
        Constant Field Values
      • CA_SEARCH_DOREPLY

        static final short CA_SEARCH_DOREPLY
        Require response (even if not found) for CA search request over TCP.
        See Also:
        Constant Field Values
      • CA_ECHO_TIMEOUT

        static final long CA_ECHO_TIMEOUT
        Echo (state-of-health message) reponse timeput in ms.
        See Also:
        Constant Field Values
      • MAX_STRING_SIZE

        static final int MAX_STRING_SIZE
        Max. (requested) string size.
        See Also:
        Constant Field Values
      • UNREASONABLE_CHANNEL_NAME_LENGTH

        static final int UNREASONABLE_CHANNEL_NAME_LENGTH
        Unreasonable channel name length.
        See Also:
        Constant Field Values