Package org.eclipse.hono.util
Class TelemetryConstants
java.lang.Object
org.eclipse.hono.util.TelemetryConstants
Constants & utility methods used throughout the Telemetry API.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Checks if a given endpoint name is the Telemetry endpoint.
-
Field Details
-
TELEMETRY_ENDPOINT
The name of the Telemetry API endpoint.- See Also:
-
TELEMETRY_ENDPOINT_SHORT
The short name of the Telemetry API endpoint.- See Also:
-
-
Method Details
-
isTelemetryEndpoint
Checks if a given endpoint name is the Telemetry endpoint.- Parameters:
ep
- The name to check.- Returns:
true
if the name is eitherTELEMETRY_ENDPOINT
orTELEMETRY_ENDPOINT_SHORT
.
-