Class DpwsConstants

java.lang.Object
org.somda.sdc.dpws.DpwsConstants

public class DpwsConstants extends Object
DPWS constants.
See Also:
  • Field Details

    • DPWS_JAXB_CONTEXT_PATH

      public static final String DPWS_JAXB_CONTEXT_PATH
      JAXB context paths used to let JAXB recognize the DPWS model.
      See Also:
    • SCHEMA_PATH

      public static final String SCHEMA_PATH
      Resource path to DPWS XML Schema.
      See Also:
    • NAMESPACE

      public static final String NAMESPACE
      Defines the DPWS namespace.
      See Also:
    • NAMESPACE_PREFIX

      public static final String NAMESPACE_PREFIX
      Defines the preferred prefix for the DPWS namespace.
      See Also:
    • DISCOVERY_PORT

      public static final int DISCOVERY_PORT
      Defines the multicast port used to transmit discovery messages.
      See Also:
    • MAX_ENVELOPE_SIZE

      public static final int MAX_ENVELOPE_SIZE
      Defines the maximum size for envelopes transmitted over TCP.

      The maximum envelope size is currently not verified, i.e., SOAP messages of any size are neither detected nor rejected. CAVEAT: lower layer protocol implementations may have some restrictions that are out of scope for this constant.

      Unit: octets.

      See Also:
    • MAX_UDP_ENVELOPE_SIZE

      public static final int MAX_UDP_ENVELOPE_SIZE
      Defines the maximum size for envelopes transmitted over UDP.

      Unit: octets

      See Also:
    • MAX_FIELD_SIZE

      public static final int MAX_FIELD_SIZE
      Defines the maximum size for different attributes introduced by DPWS.

      Unit: Unicode characters

      See Also:
    • MAX_URI_SIZE

      public static final int MAX_URI_SIZE
      Defines the maximum size for URIs.

      Unit: octets

      See Also:
    • MULTICAST_UDP_REPEAT

      public static final int MULTICAST_UDP_REPEAT
      Defines the retry number for unreliable UDP multicast traffic.
      See Also:
    • UDP_MAX_DELAY

      public static final Duration UDP_MAX_DELAY
      Defines the maximum delay for the SOAP-over-UDP retransmission algorithm.
    • UDP_MIN_DELAY

      public static final Duration UDP_MIN_DELAY
      Defines the minimum delay for the SOAP-over-UDP retransmission algorithm.
    • UDP_UPPER_DELAY

      public static final Duration UDP_UPPER_DELAY
      Defines the upper delay for the SOAP-over-UDP retransmission algorithm.
    • UNICAST_UDP_REPEAT

      public static final int UNICAST_UDP_REPEAT
      Defines the retry number for unreliable UDP unicast traffic.
      See Also:
    • DEFAULT_MULTICAST_TTL

      public static final int DEFAULT_MULTICAST_TTL
      Default TTL for outgoing multicast messages.
      See Also:
    • MEX_DIALECT_THIS_MODEL

      public static final String MEX_DIALECT_THIS_MODEL
      Defines the namespace for the DPWS ThisModel data structure.
      See Also:
    • MEX_DIALECT_THIS_DEVICE

      public static final String MEX_DIALECT_THIS_DEVICE
      Defines the namespace for the DPWS ThisDevice data structure.
      See Also:
    • MEX_DIALECT_RELATIONSHIP

      public static final String MEX_DIALECT_RELATIONSHIP
      Defines the namespace for the DPWS Relationship data structure.
      See Also:
    • WS_EVENTING_SUPPORTED_DIALECT

      public static final String WS_EVENTING_SUPPORTED_DIALECT
      Defines the minimum supported WS-Eventing dialect URI.
      See Also:
    • RELATIONSHIP_TYPE_HOST

      public static final String RELATIONSHIP_TYPE_HOST
      Defines the DPWS relationship type for hosts (devices).
      See Also:
    • DEVICE_TYPE

      public static final QName DEVICE_TYPE
      Defines the DPWS device type that is required to identify a DPWS compliant device during discovery.
    • URI_SCHEME_SOAP_OVER_UDP

      public static final String URI_SCHEME_SOAP_OVER_UDP
      URI scheme for SOAP-over-UDP.
      See Also:
  • Constructor Details

    • DpwsConstants

      public DpwsConstants()