Class TelemetryConstants

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

public final class TelemetryConstants extends Object
Constants & utility methods used throughout the Telemetry API.
  • Field Details

    • TELEMETRY_ENDPOINT

      public static final String TELEMETRY_ENDPOINT
      The name of the Telemetry API endpoint.
      See Also:
    • TELEMETRY_ENDPOINT_SHORT

      public static final String TELEMETRY_ENDPOINT_SHORT
      The short name of the Telemetry API endpoint.
      See Also:
  • Method Details

    • isTelemetryEndpoint

      public static boolean isTelemetryEndpoint(String ep)
      Checks if a given endpoint name is the Telemetry endpoint.
      Parameters:
      ep - The name to check.
      Returns:
      true if the name is either TELEMETRY_ENDPOINT or TELEMETRY_ENDPOINT_SHORT.