Package org.somda.sdc.dpws
Class DpwsConstants
- java.lang.Object
-
- org.somda.sdc.dpws.DpwsConstants
-
public class DpwsConstants extends Object
DPWS constants.- See Also:
- Appendix B. Constants
-
-
Field Summary
Fields Modifier and Type Field Description static QNameDEVICE_TYPEDefines the DPWS device type that is required to identify a DPWS compliant device during discovery.static intDISCOVERY_PORTDefines the multicast port used to transmit discovery messages.static StringJAXB_CONTEXT_PACKAGEDefines the context package for JAXB.static intMAX_ENVELOPE_SIZEDefines the maximum size for envelopes transmitted over TCP.static intMAX_FIELD_SIZEDefines the maximum size for different attributes introduced by DPWS.static intMAX_UDP_ENVELOPE_SIZEDefines the maximum size for envelopes transmitted over UDP.static intMAX_URI_SIZEDefines the maximum size for URIs.static StringMEX_DIALECT_RELATIONSHIPDefines the namespace for the DPWS Relationship data structure.static StringMEX_DIALECT_THIS_DEVICEDefines the namespace for the DPWS ThisDevice data structure.static StringMEX_DIALECT_THIS_MODELDefines the namespace for the DPWS ThisModel data structure.static intMULTICAST_UDP_REPEATDefines the retry number for unreliable UDP multicast traffic.static StringNAMESPACEDefines the DPWS namespace.static StringNAMESPACE_PREFIXDefines the preferred prefix for the DPWS namespace.static StringRELATIONSHIP_TYPE_HOSTDefines the DPWS relationship type for hosts (devices).static StringSCHEMA_PATHResource path to DPWS XML Schema.static DurationUDP_MAX_DELAYDefines the maximum delay for the SOAP-over-UDP retransmission algorithm.static DurationUDP_MIN_DELAYDefines the minimum delay for the SOAP-over-UDP retransmission algorithm.static DurationUDP_UPPER_DELAYDefines the upper delay for the SOAP-over-UDP retransmission algorithm.static intUNICAST_UDP_REPEATDefines the retry number for unreliable UDP unicast traffic.static StringURI_SCHEME_SOAP_OVER_UDPURI scheme for SOAP-over-UDP.static StringWS_EVENTING_SUPPORTED_DIALECTDefines the minimum supported WS-Eventing dialect URI.
-
Constructor Summary
Constructors Constructor Description DpwsConstants()
-
-
-
Field Detail
-
JAXB_CONTEXT_PACKAGE
public static final String JAXB_CONTEXT_PACKAGE
Defines the context package for JAXB.- See Also:
- Constant Field Values
-
SCHEMA_PATH
public static final String SCHEMA_PATH
Resource path to DPWS XML Schema.- See Also:
- Constant Field Values
-
NAMESPACE
public static final String NAMESPACE
Defines the DPWS namespace.- See Also:
- Constant Field Values
-
NAMESPACE_PREFIX
public static final String NAMESPACE_PREFIX
Defines the preferred prefix for the DPWS namespace.- See Also:
- Constant Field Values
-
DISCOVERY_PORT
public static final int DISCOVERY_PORT
Defines the multicast port used to transmit discovery messages.- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
MAX_URI_SIZE
public static final int MAX_URI_SIZE
Defines the maximum size for URIs.Unit: octets
- See Also:
- Constant Field Values
-
MULTICAST_UDP_REPEAT
public static final int MULTICAST_UDP_REPEAT
Defines the retry number for unreliable UDP multicast traffic.- See Also:
- Constant Field Values
-
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:
MULTICAST_UDP_REPEAT, Constant Field Values
-
MEX_DIALECT_THIS_MODEL
public static final String MEX_DIALECT_THIS_MODEL
Defines the namespace for the DPWS ThisModel data structure.- See Also:
- Constant Field Values
-
MEX_DIALECT_THIS_DEVICE
public static final String MEX_DIALECT_THIS_DEVICE
Defines the namespace for the DPWS ThisDevice data structure.- See Also:
- Constant Field Values
-
MEX_DIALECT_RELATIONSHIP
public static final String MEX_DIALECT_RELATIONSHIP
Defines the namespace for the DPWS Relationship data structure.- See Also:
- Constant Field Values
-
WS_EVENTING_SUPPORTED_DIALECT
public static final String WS_EVENTING_SUPPORTED_DIALECT
Defines the minimum supported WS-Eventing dialect URI.- See Also:
- Constant Field Values
-
RELATIONSHIP_TYPE_HOST
public static final String RELATIONSHIP_TYPE_HOST
Defines the DPWS relationship type for hosts (devices).- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
-