Package org.eclipse.hono.util
Class Constants
java.lang.Object
org.eclipse.hono.util.Constants
Constants used throughout Hono.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The default separator character for target addresses.static final String
The name of the default tenant.static final String
The prefix for the vert.x event bus address that notification messages are published to.static final String
The vert.x event bus address that the ID of a tenant that timed out is published to.static final String
The header name defined for setting the command that is sent to the device.static final String
The header name defined for setting the request id for device responses to a command.static final String
The header name defined for setting the status code of a device respond to a command that was previously received by the device.static final String
The header name defined for setting the target device id when sending a command to a gateway acting on behalf of the device.static final String
The "QoS-Level" request header indicating the quality of service level supported by the HTTP Adapter.static final String
The header name defined for setting the time till disconnect for device command readiness notification events.static final String
The header name defined for setting the time-to-live for the event messages.static final String
The field name of a JSON payload containing a description.static final String
The field name of JSON payloads containing a device ID.static final String
The field name of JSON payloads containing a tenant ID.static final String
The loopback device address.static final int
The AMQP 1.0 port defined by IANA for unencrypted connections.static final int
The AMQP 1.0 port defined by IANA for TLS encrypted connections.static final String
The AMQP 1.0 port defined by IANA for TLS encrypted connections.static final int
Default value for a port that is not explicitly configured.static final String
Default value for a port that is not explicitly configured.static final String
The type of the AMQP protocol adapter.static final String
The type of the CoAP protocol adapter.static final String
The type of the protocol adapter which actually denotes the device registry.static final String
The type of the HTTP protocol adapter.static final String
The type of the LoRaWAN protocol adapter.static final String
The type of the MQTT protocol adapter.static final String
The type of the sigfox protocol adapter.static final String
The qualifier to use for referring to AMQP based components.static final String
The qualifier to use for referring to HTTP based components.static final String
The qualifier to use for referring to the AMQP Messaging Network.static final String
The unknown server role name.static final String
The (short) name of the Auth Server component.static final String
The (short) name of the Command Router service.static final String
The (short) name of the Device Registry component. -
Method Summary
-
Field Details
-
DEFAULT_PATH_SEPARATOR
The default separator character for target addresses.- See Also:
-
DEFAULT_TENANT
The name of the default tenant.- See Also:
-
PROTOCOL_ADAPTER_TYPE_AMQP
The type of the AMQP protocol adapter.- See Also:
-
PROTOCOL_ADAPTER_TYPE_COAP
The type of the CoAP protocol adapter.- See Also:
-
PROTOCOL_ADAPTER_TYPE_HTTP
The type of the HTTP protocol adapter.- See Also:
-
PROTOCOL_ADAPTER_TYPE_LORA
The type of the LoRaWAN protocol adapter.- See Also:
-
PROTOCOL_ADAPTER_TYPE_MQTT
The type of the MQTT protocol adapter.- See Also:
-
PROTOCOL_ADAPTER_TYPE_SIGFOX
The type of the sigfox protocol adapter.- See Also:
-
PROTOCOL_ADAPTER_TYPE_DEVICE_REGISTRY
The type of the protocol adapter which actually denotes the device registry.- See Also:
-
SERVICE_NAME_AUTH
The (short) name of the Auth Server component.- See Also:
-
SERVICE_NAME_COMMAND_ROUTER
The (short) name of the Command Router service.- See Also:
-
SERVICE_NAME_DEVICE_REGISTRY
The (short) name of the Device Registry component.- See Also:
-
HEADER_QOS_LEVEL
The "QoS-Level" request header indicating the quality of service level supported by the HTTP Adapter. The HTTP adapter supports QoS level AT_LEAST_ONCE when uploading telemetry messages.- See Also:
-
EVENT_BUS_ADDRESS_TENANT_TIMED_OUT
The vert.x event bus address that the ID of a tenant that timed out is published to.- See Also:
-
EVENT_BUS_ADDRESS_NOTIFICATION_PREFIX
The prefix for the vert.x event bus address that notification messages are published to.- See Also:
-
PORT_AMQP
public static final int PORT_AMQPThe AMQP 1.0 port defined by IANA for unencrypted connections.- See Also:
-
PORT_AMQPS
public static final int PORT_AMQPSThe AMQP 1.0 port defined by IANA for TLS encrypted connections.- See Also:
-
PORT_AMQPS_STRING
The AMQP 1.0 port defined by IANA for TLS encrypted connections.- See Also:
-
PORT_UNCONFIGURED
public static final int PORT_UNCONFIGUREDDefault value for a port that is not explicitly configured.- See Also:
-
PORT_UNCONFIGURED_STRING
Default value for a port that is not explicitly configured.- See Also:
-
LOOPBACK_DEVICE_ADDRESS
The loopback device address.- See Also:
-
QUALIFIER_AMQP
The qualifier to use for referring to AMQP based components.- See Also:
-
QUALIFIER_HTTP
The qualifier to use for referring to HTTP based components.- See Also:
-
QUALIFIER_MESSAGING
The qualifier to use for referring to the AMQP Messaging Network.- See Also:
-
JSON_FIELD_DEVICE_ID
The field name of JSON payloads containing a device ID.- See Also:
-
JSON_FIELD_TENANT_ID
The field name of JSON payloads containing a tenant ID.- See Also:
-
JSON_FIELD_DESCRIPTION
The field name of a JSON payload containing a description.- See Also:
-
HEADER_TIME_TILL_DISCONNECT
The header name defined for setting the time till disconnect for device command readiness notification events.- See Also:
-
HEADER_TIME_TO_LIVE
The header name defined for setting the time-to-live for the event messages.- See Also:
-
HEADER_COMMAND_REQUEST_ID
The header name defined for setting the request id for device responses to a command. This id is sent to the device and has to be used in replies to the command to correlate the original command with the response.- See Also:
-
HEADER_COMMAND_TARGET_DEVICE
The header name defined for setting the target device id when sending a command to a gateway acting on behalf of the device.- See Also:
-
HEADER_COMMAND
The header name defined for setting the command that is sent to the device.- See Also:
-
HEADER_COMMAND_RESPONSE_STATUS
The header name defined for setting the status code of a device respond to a command that was previously received by the device.- See Also:
-
SERVER_ROLE_UNKNOWN
The unknown server role name.- See Also:
-