Interface PVAConstants


  • public interface PVAConstants
    PVA constants.
    Version:
    $Id$
    Author:
    Matej Sekoranja
    • Field Detail

      • PVA_PROTOCOL_REVISION

        static final byte PVA_PROTOCOL_REVISION
        PVA protocol revision (implemented by this library).
        See Also:
        Constant Field Values
      • PVA_VERSION

        static final byte PVA_VERSION
        PVA version signature used to report this implementation version in header.
        See Also:
        Constant Field Values
      • PVA_SERVER_PORT

        static final int PVA_SERVER_PORT
        Default PVA server port.
        See Also:
        Constant Field Values
      • PVA_BROADCAST_PORT

        static final int PVA_BROADCAST_PORT
        Default PVA beacon port.
        See Also:
        Constant Field Values
      • PVA_MESSAGE_HEADER_SIZE

        static final short PVA_MESSAGE_HEADER_SIZE
        PVA protocol message header size.
        See Also:
        Constant Field Values
      • PVA_ALIGNMENT

        static final int PVA_ALIGNMENT
        All messages must be aligned to 8-bytes (64-bit). MUST be 1. Code does not handle well alignment in some situations (e.g. direct deserialize). Alignment is not worth additional code complexity.
        See Also:
        Constant Field Values
      • MAX_UDP_UNFRAGMENTED_SEND

        static final int MAX_UDP_UNFRAGMENTED_SEND
        UDP maximum send message size (for sending search requests). MAX_UDP: 1500 (max of ethernet and 802.{2,3} MTU) - 20/40(IPv4/IPv6) - 8(UDP) - some reserve (e.g. IPSEC) (the MTU of Ethernet is currently independent of its speed variant)
        See Also:
        Constant Field Values
      • MAX_UDP_PACKET

        static final int MAX_UDP_PACKET
        UDP maximum receive message size. MAX_UDP: 65535 (max UDP packet size) - 20/40(IPv4/IPv6) - 8(UDP)
        See Also:
        Constant Field Values
      • MAX_TCP_RECV

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

        static final int MAX_SEARCH_BATCH_COUNT
        Maximum number of search requests in one search message.
        See Also:
        Constant Field Values
      • PVA_DEFAULT_PRIORITY

        static final short PVA_DEFAULT_PRIORITY
        Default priority.
        See Also:
        Constant Field Values
      • MAX_CHANNEL_NAME_LENGTH

        static final int MAX_CHANNEL_NAME_LENGTH
        Max channel name length.
        See Also:
        Constant Field Values
      • PVACCESS_DEBUG

        static final String PVACCESS_DEBUG
        String value of the JVM property key to turn on debugging. (0 - none, 1 - debug, 2 - more debug, 3 - dump messages)
        See Also:
        Constant Field Values