Class Constants

java.lang.Object
org.eclipse.hono.util.Constants

public final class Constants extends Object
Constants used throughout Hono.
  • Field Details

    • DEFAULT_PATH_SEPARATOR

      public static final String DEFAULT_PATH_SEPARATOR
      The default separator character for target addresses.
      See Also:
    • DEFAULT_TENANT

      public static final String DEFAULT_TENANT
      The name of the default tenant.
      See Also:
    • PROTOCOL_ADAPTER_TYPE_AMQP

      public static final String PROTOCOL_ADAPTER_TYPE_AMQP
      The type of the AMQP protocol adapter.
      See Also:
    • PROTOCOL_ADAPTER_TYPE_COAP

      public static final String PROTOCOL_ADAPTER_TYPE_COAP
      The type of the CoAP protocol adapter.
      See Also:
    • PROTOCOL_ADAPTER_TYPE_HTTP

      public static final String PROTOCOL_ADAPTER_TYPE_HTTP
      The type of the HTTP protocol adapter.
      See Also:
    • PROTOCOL_ADAPTER_TYPE_LORA

      public static final String PROTOCOL_ADAPTER_TYPE_LORA
      The type of the LoRaWAN protocol adapter.
      See Also:
    • PROTOCOL_ADAPTER_TYPE_MQTT

      public static final String PROTOCOL_ADAPTER_TYPE_MQTT
      The type of the MQTT protocol adapter.
      See Also:
    • PROTOCOL_ADAPTER_TYPE_SIGFOX

      public static final String PROTOCOL_ADAPTER_TYPE_SIGFOX
      The type of the sigfox protocol adapter.
      See Also:
    • PROTOCOL_ADAPTER_TYPE_DEVICE_REGISTRY

      public static final String PROTOCOL_ADAPTER_TYPE_DEVICE_REGISTRY
      The type of the protocol adapter which actually denotes the device registry.
      See Also:
    • SERVICE_NAME_AUTH

      public static final String SERVICE_NAME_AUTH
      The (short) name of the Auth Server component.
      See Also:
    • SERVICE_NAME_COMMAND_ROUTER

      public static final String SERVICE_NAME_COMMAND_ROUTER
      The (short) name of the Command Router service.
      See Also:
    • SERVICE_NAME_DEVICE_REGISTRY

      public static final String SERVICE_NAME_DEVICE_REGISTRY
      The (short) name of the Device Registry component.
      See Also:
    • HEADER_QOS_LEVEL

      public static final String 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

      public static final String 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

      public static final String 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_AMQP
      The AMQP 1.0 port defined by IANA for unencrypted connections.
      See Also:
    • PORT_AMQPS

      public static final int PORT_AMQPS
      The AMQP 1.0 port defined by IANA for TLS encrypted connections.
      See Also:
    • PORT_AMQPS_STRING

      public static final String PORT_AMQPS_STRING
      The AMQP 1.0 port defined by IANA for TLS encrypted connections.
      See Also:
    • PORT_UNCONFIGURED

      public static final int PORT_UNCONFIGURED
      Default value for a port that is not explicitly configured.
      See Also:
    • PORT_UNCONFIGURED_STRING

      public static final String PORT_UNCONFIGURED_STRING
      Default value for a port that is not explicitly configured.
      See Also:
    • LOOPBACK_DEVICE_ADDRESS

      public static final String LOOPBACK_DEVICE_ADDRESS
      The loopback device address.
      See Also:
    • QUALIFIER_AMQP

      public static final String QUALIFIER_AMQP
      The qualifier to use for referring to AMQP based components.
      See Also:
    • QUALIFIER_HTTP

      public static final String QUALIFIER_HTTP
      The qualifier to use for referring to HTTP based components.
      See Also:
    • QUALIFIER_MESSAGING

      public static final String QUALIFIER_MESSAGING
      The qualifier to use for referring to the AMQP Messaging Network.
      See Also:
    • JSON_FIELD_DEVICE_ID

      public static final String JSON_FIELD_DEVICE_ID
      The field name of JSON payloads containing a device ID.
      See Also:
    • JSON_FIELD_TENANT_ID

      public static final String JSON_FIELD_TENANT_ID
      The field name of JSON payloads containing a tenant ID.
      See Also:
    • JSON_FIELD_DESCRIPTION

      public static final String JSON_FIELD_DESCRIPTION
      The field name of a JSON payload containing a description.
      See Also:
    • HEADER_TIME_TILL_DISCONNECT

      public static final String 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

      public static final String HEADER_TIME_TO_LIVE
      The header name defined for setting the time-to-live for the event messages.
      See Also:
    • HEADER_COMMAND_REQUEST_ID

      public static final String 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

      public static final String 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

      public static final String HEADER_COMMAND
      The header name defined for setting the command that is sent to the device.
      See Also:
    • HEADER_COMMAND_RESPONSE_STATUS

      public static final String 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

      public static final String SERVER_ROLE_UNKNOWN
      The unknown server role name.
      See Also: