A C D E F G H I L M N O P R S T U V X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractSubscription - Class in org.eclipse.hono.adapter.mqtt
-
Base class for an MQTT subscription of a device.
- AbstractSubscription(ResourceIdentifier, MqttQoS, Device) - Constructor for class org.eclipse.hono.adapter.mqtt.AbstractSubscription
-
Creates a new AbstractSubscription.
- AbstractVertxBasedMqttProtocolAdapter<T extends MqttProtocolAdapterProperties> - Class in org.eclipse.hono.adapter.mqtt
-
A base class for implementing Vert.x based Hono protocol adapters for publishing events & telemetry data using MQTT.
- AbstractVertxBasedMqttProtocolAdapter() - Constructor for class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
- AbstractVertxBasedMqttProtocolAdapter.MqttDeviceEndpoint - Class in org.eclipse.hono.adapter.mqtt
-
The endpoint representing a connected MQTT device.
- acknowledge() - Method in class org.eclipse.hono.adapter.mqtt.MqttContext
-
Sends a PUBACK for the message to the device.
- adapterOptions() - Method in interface org.eclipse.hono.adapter.mqtt.MqttProtocolAdapterOptions
-
Gets the adapter options.
- add(Integer, Handler<Integer>, Handler<Void>, long) - Method in class org.eclipse.hono.adapter.mqtt.PendingPubAcks
-
Registers handlers to be invoked when the published message with the given id is either acknowledged or a timeout occurs.
- applyMappedTargetAddress(ResourceIdentifier) - Method in class org.eclipse.hono.adapter.mqtt.MqttContext
-
Apply a mapped targetAddress to this mqtt context.
- applyTraceSamplingPriorityForTopicTenant(ResourceIdentifier, Span) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter.MqttDeviceEndpoint
-
Applies the trace sampling priority configured for the tenant derived from the given topic on the given span.
- authenticatedDevice() - Method in class org.eclipse.hono.adapter.mqtt.MqttContext
-
Gets the identity of the authenticated device that has published the message.
C
- COMMAND_RESPONSE_ENDPOINT - Static variable in class org.eclipse.hono.adapter.mqtt.ErrorSubscription
-
Endpoint used in the topic of the published error message identifying the message that lead to the error as a command response message.
- COMMAND_RESPONSE_ENDPOINT_SHORT - Static variable in class org.eclipse.hono.adapter.mqtt.ErrorSubscription
-
Short variant of the endpoint used in the topic of the published error message identifying the message that lead to the error as a command response message.
- commandAckTimeout() - Method in interface org.eclipse.hono.adapter.mqtt.MqttProtocolAdapterOptions
-
Deprecated, for removal: This API element is subject to removal in a future version.
- CommandSubscription - Class in org.eclipse.hono.adapter.mqtt
-
A device's MQTT subscription for command messages.
- ConnectPacketAuthHandler - Class in org.eclipse.hono.adapter.mqtt
-
An auth handler for extracting a username and password from an MQTT CONNECT packet.
- ConnectPacketAuthHandler(DeviceCredentialsAuthProvider<UsernamePasswordCredentials>) - Constructor for class org.eclipse.hono.adapter.mqtt.ConnectPacketAuthHandler
-
Creates a new handler for a Hono client based auth provider.
- ConnectPacketAuthHandler(DeviceCredentialsAuthProvider<UsernamePasswordCredentials>, PreCredentialsValidationHandler<MqttConnectContext>) - Constructor for class org.eclipse.hono.adapter.mqtt.ConnectPacketAuthHandler
-
Creates a new handler for a Hono client based auth provider.
- containsDeviceId() - Method in class org.eclipse.hono.adapter.mqtt.AbstractSubscription
- containsDeviceId() - Method in interface org.eclipse.hono.adapter.mqtt.Subscription
-
Checks if the topic contains a device identifier.
- containsTenantId() - Method in class org.eclipse.hono.adapter.mqtt.AbstractSubscription
- containsTenantId() - Method in interface org.eclipse.hono.adapter.mqtt.Subscription
-
Checks if the topic contains a tenant identifier.
- contentType() - Method in class org.eclipse.hono.adapter.mqtt.MqttContext
-
Gets the content type of the message payload.
- correlationId() - Method in class org.eclipse.hono.adapter.mqtt.MqttContext
-
Gets the correlation identifier taken either from a corresponding property bag value or the message packet id.
- createAuthHandler() - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
-
Creates the default auth handler to use for authenticating devices.
- customizeDownstreamMessageProperties(Map<String, Object>, MqttContext) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
-
Invoked before the message is sent to the downstream peer.
- customizeDownstreamMessageProperties(Map<String, Object>, MqttContext) - Method in class org.eclipse.hono.adapter.mqtt.impl.VertxBasedMqttProtocolAdapter
D
- DEFAULT - org.eclipse.hono.adapter.mqtt.MqttContext.ErrorHandlingMode
-
Use the default error handling mode:
MqttContext.ErrorHandlingMode.IGNOREif the device is subscribed to the error topic orMqttContext.ErrorHandlingMode.DISCONNECTotherwise. - DEFAULT_COMMAND_ACK_TIMEOUT - Static variable in class org.eclipse.hono.adapter.mqtt.MqttProtocolAdapterProperties
-
The default number of milliseconds to wait for PUBACK.
- DEFAULT_SEND_MESSAGE_TO_DEVICE_TIMEOUT - Static variable in class org.eclipse.hono.adapter.mqtt.MqttProtocolAdapterProperties
-
The amount of time (in milliseconds) to wait for a device to acknowledge receiving a command message.
- deviceEndpoint() - Method in class org.eclipse.hono.adapter.mqtt.MqttConnectContext
-
Gets the MQTT endpoint over which the message has been received.
- deviceEndpoint() - Method in class org.eclipse.hono.adapter.mqtt.MqttContext
-
Gets the MQTT endpoint over which the message has been received.
- deviceId() - Method in class org.eclipse.hono.adapter.mqtt.MqttContext
-
Gets the identifier of the device that the message originates from.
- DISCONNECT - org.eclipse.hono.adapter.mqtt.MqttContext.ErrorHandlingMode
-
Disconnect on error.
- doStart(Promise<Void>) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
- doStop(Promise<Void>) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
E
- endpoint() - Method in class org.eclipse.hono.adapter.mqtt.MqttContext
-
Gets the endpoint that the message has been published to.
- ERROR_ENDPOINT - Static variable in class org.eclipse.hono.adapter.mqtt.ErrorSubscription
-
The name of the error endpoint.
- ERROR_ENDPOINT_SHORT - Static variable in class org.eclipse.hono.adapter.mqtt.ErrorSubscription
-
The short name of the error endpoint.
- ErrorSubscription - Class in org.eclipse.hono.adapter.mqtt
-
A device's MQTT subscription for error messages.
F
- from(String) - Static method in enum org.eclipse.hono.adapter.mqtt.MqttContext.ErrorHandlingMode
-
Construct an ErrorHandlingMode object from an MQTT topic property bag parameter value.
- fromConnectPacket(MqttEndpoint, Span) - Static method in class org.eclipse.hono.adapter.mqtt.MqttConnectContext
-
Creates a new context for a connection attempt.
- fromPublishPacket(MqttPublishMessage, MqttEndpoint, Span) - Static method in class org.eclipse.hono.adapter.mqtt.MqttContext
-
Creates a new context for a published message.
- fromPublishPacket(MqttPublishMessage, MqttEndpoint, Span, Device) - Static method in class org.eclipse.hono.adapter.mqtt.MqttContext
-
Creates a new context for a published message.
- fromTopic(MqttTopicSubscription, Device) - Static method in class org.eclipse.hono.adapter.mqtt.CommandSubscription
-
Creates a command subscription object for the given topic.
- fromTopic(MqttTopicSubscription, Device) - Static method in class org.eclipse.hono.adapter.mqtt.ErrorSubscription
-
Creates a error subscription object for the given topic.
- fromTopic(String) - Static method in class org.eclipse.hono.adapter.mqtt.PropertyBag
-
Creates a property bag object from a topic.
- fromTopic(String, MqttQoS, Device) - Static method in class org.eclipse.hono.adapter.mqtt.CommandSubscription
-
Creates a command subscription object for the given topic.
- fromTopic(String, MqttQoS, Device) - Static method in class org.eclipse.hono.adapter.mqtt.ErrorSubscription
-
Creates a error subscription object for the given topic.
G
- getActualInsecurePort() - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
- getActualPort() - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
- getAdditionalProperties() - Method in class org.eclipse.hono.adapter.mqtt.MappedMessage
-
Gets additional properties to be included with the mapped message.
- getAuthenticatedDeviceId() - Method in class org.eclipse.hono.adapter.mqtt.AbstractSubscription
- getAuthenticatedDeviceId() - Method in interface org.eclipse.hono.adapter.mqtt.Subscription
-
Gets the device id from authentication.
- getCommandAckTimeout() - Method in class org.eclipse.hono.adapter.mqtt.MqttProtocolAdapterProperties
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getCommandPayload(CommandContext) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
-
Get the buffer to send as a command to the gateway/device.
- getCommandPayload(CommandContext) - Method in class org.eclipse.hono.adapter.mqtt.impl.VertxBasedMqttProtocolAdapter
-
Get the buffer to send as a command to the gateway/device.
- getCommandPublishTopic(Command) - Method in class org.eclipse.hono.adapter.mqtt.CommandSubscription
-
Gets the name of the topic that a command should be published to.
- getDeviceId() - Method in class org.eclipse.hono.adapter.mqtt.AbstractSubscription
- getDeviceId() - Method in interface org.eclipse.hono.adapter.mqtt.Subscription
-
Gets the device id from topic or authentication.
- getDeviceId() - Method in interface org.eclipse.hono.adapter.mqtt.Subscription.Key
-
Gets the device id from topic or authentication.
- getEndpoint() - Method in class org.eclipse.hono.adapter.mqtt.AbstractSubscription
- getEndpoint() - Method in interface org.eclipse.hono.adapter.mqtt.Subscription
-
Gets the endpoint of the subscription.
- getErrorHandlingMode(boolean) - Method in class org.eclipse.hono.adapter.mqtt.MqttContext
-
Gets the mode defining how to handle errors raised when a device publishes a message.
- getErrorPublishTopic(String, String, String, int) - Method in class org.eclipse.hono.adapter.mqtt.ErrorSubscription
-
Gets the name of the topic that an error should be published to.
- getErrorPublishTopic(MqttContext, int) - Method in class org.eclipse.hono.adapter.mqtt.ErrorSubscription
-
Gets the name of the topic that an error should be published to.
- getInsecurePortDefaultValue() - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
- getKey() - Method in class org.eclipse.hono.adapter.mqtt.CommandSubscription
-
Gets the key to identify a subscription in the list of subscriptions of an MQTT Endpoint.
- getKey() - Method in class org.eclipse.hono.adapter.mqtt.ErrorSubscription
- getKey() - Method in interface org.eclipse.hono.adapter.mqtt.Subscription
-
Gets the key to identify a subscription in the list of (same-type) subscriptions of an MQTT Endpoint.
- getKey(String, String) - Static method in class org.eclipse.hono.adapter.mqtt.ErrorSubscription
-
Gets the key to identify a subscription in the list of subscriptions of an MQTT Endpoint.
- getKey(String, Device) - Static method in class org.eclipse.hono.adapter.mqtt.CommandSubscription
-
Get the key to identify a command subscription in the list of command subscriptions of an MQTT Endpoint.
- getKey(String, Device) - Static method in class org.eclipse.hono.adapter.mqtt.ErrorSubscription
-
Gets the key to identify an error subscription in the list of error subscriptions of an MQTT Endpoint.
- getMetrics() - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
-
Gets the metrics for this service.
- getOrigAddress() - Method in class org.eclipse.hono.adapter.mqtt.MqttContext
- getPayload() - Method in class org.eclipse.hono.adapter.mqtt.MappedMessage
-
Gets the mapped payload.
- getPortDefaultValue() - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
- getPropertiesIterator() - Method in class org.eclipse.hono.adapter.mqtt.PropertyBag
-
Gets an iterator iterating over the properties.
- getProperty(String) - Method in class org.eclipse.hono.adapter.mqtt.PropertyBag
-
Gets a property value from the property-bag.
- getQos() - Method in class org.eclipse.hono.adapter.mqtt.AbstractSubscription
- getQos() - Method in interface org.eclipse.hono.adapter.mqtt.Subscription
-
Gets the QoS of the subscription.
- getRequestedQos() - Method in class org.eclipse.hono.adapter.mqtt.MqttContext
- getRequestPart() - Method in class org.eclipse.hono.adapter.mqtt.CommandSubscription
-
Gets the request part of the subscription.
- getSendMessageToDeviceTimeout() - Method in class org.eclipse.hono.adapter.mqtt.MqttProtocolAdapterProperties
-
Gets the waiting for acknowledgement timeout in milliseconds for commands published with QoS 1.
- getTargetAddress() - Method in class org.eclipse.hono.adapter.mqtt.MappedMessage
-
Gets the address that the message should be forwarded to.
- getTenant() - Method in class org.eclipse.hono.adapter.mqtt.AbstractSubscription
- getTenant() - Method in interface org.eclipse.hono.adapter.mqtt.Subscription
-
Gets the tenant from topic or authentication.
- getTenant() - Method in interface org.eclipse.hono.adapter.mqtt.Subscription.Key
-
Gets the tenant from topic or authentication.
- getTimer() - Method in class org.eclipse.hono.adapter.mqtt.MqttContext
-
Gets the object used for measuring the time it takes to process this request.
- getTimeToLive() - Method in class org.eclipse.hono.adapter.mqtt.MqttContext
- getTopic() - Method in class org.eclipse.hono.adapter.mqtt.AbstractSubscription
- getTopic() - Method in interface org.eclipse.hono.adapter.mqtt.Subscription
-
Gets the subscription topic.
- getTraceSamplingPriority() - Method in class org.eclipse.hono.adapter.mqtt.MqttConnectContext
-
Gets the value for the sampling.priority span tag to be used for OpenTracing spans created in connection with this context.
- getTypeName() - Method in class org.eclipse.hono.adapter.mqtt.impl.VertxBasedMqttProtocolAdapter
H
- handleBeforeCredentialsValidation(DeviceCredentials, MqttConnectContext) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
-
Handles any operations that should be invoked as part of the authentication process after the credentials got determined and before they get validated.
- handlePubAck(Integer) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter.MqttDeviceEndpoint
-
Invoked when a device sends an MQTT PUBACK packet.
- handlePubAck(Integer) - Method in class org.eclipse.hono.adapter.mqtt.PendingPubAcks
-
Invoked when a device sends an MQTT PUBACK packet.
- handlePublishedMessage(MqttPublishMessage) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter.MqttDeviceEndpoint
-
Invoked when a device sends an MQTT PUBLISH packet.
- hasCommandEndpointPrefix(String) - Static method in class org.eclipse.hono.adapter.mqtt.CommandSubscription
-
Checks whether the given topic name starts with the command endpoint identifier.
- hasErrorEndpointPrefix(String) - Static method in class org.eclipse.hono.adapter.mqtt.ErrorSubscription
-
Checks whether the given topic name starts with the error endpoint identifier.
- HttpBasedMessageMapping - Class in org.eclipse.hono.adapter.mqtt.impl
-
A message mapper that invokes a service implementation via HTTP(S).
- HttpBasedMessageMapping(WebClient, MqttProtocolAdapterProperties) - Constructor for class org.eclipse.hono.adapter.mqtt.impl.HttpBasedMessageMapping
-
Creates a new service for a web client and configuration properties.
I
- IGNORE - org.eclipse.hono.adapter.mqtt.MqttContext.ErrorHandlingMode
-
Ignore errors, send PUB_ACK if QoS is 1.
- isAtLeastOnce() - Method in class org.eclipse.hono.adapter.mqtt.MqttContext
-
Checks if the message has been published using QoS 1.
- isAuthenticated() - Method in class org.eclipse.hono.adapter.mqtt.AbstractSubscription
- isAuthenticated() - Method in interface org.eclipse.hono.adapter.mqtt.Subscription
-
Gets the authentication status, which indicates the need to publish on tenant/device-id for unauthenticated devices.
- isGatewaySubscriptionForSpecificDevice() - Method in class org.eclipse.hono.adapter.mqtt.AbstractSubscription
- isGatewaySubscriptionForSpecificDevice() - Method in interface org.eclipse.hono.adapter.mqtt.Subscription
-
Checks whether this subscription represents the case of a gateway subscribing for a specific device that it acts on behalf of.
L
- logSubscribeFailure(Span, Throwable) - Method in class org.eclipse.hono.adapter.mqtt.AbstractSubscription
- logSubscribeFailure(Span, Throwable) - Method in interface org.eclipse.hono.adapter.mqtt.Subscription
-
Logs a failed subscription attempt to the given span.
- logSubscribeSuccess(Span) - Method in class org.eclipse.hono.adapter.mqtt.AbstractSubscription
- logSubscribeSuccess(Span) - Method in interface org.eclipse.hono.adapter.mqtt.Subscription
-
Logs a successful subscription attempt to the given span.
- logUnsubscribe(Span) - Method in class org.eclipse.hono.adapter.mqtt.AbstractSubscription
- logUnsubscribe(Span) - Method in interface org.eclipse.hono.adapter.mqtt.Subscription
-
Logs the unsubscription to the given span.
M
- mapDownstreamMessage(MqttContext, ResourceIdentifier, RegistrationAssertion) - Method in class org.eclipse.hono.adapter.mqtt.impl.HttpBasedMessageMapping
-
Maps a message uploaded by a device.
- mapDownstreamMessage(T, ResourceIdentifier, RegistrationAssertion) - Method in interface org.eclipse.hono.adapter.mqtt.MessageMapping
-
Maps a message uploaded by a device.
- MappedMessage - Class in org.eclipse.hono.adapter.mqtt
-
The result of mapping a message using a
MessageMappingservice. - MappedMessage(ResourceIdentifier, Buffer) - Constructor for class org.eclipse.hono.adapter.mqtt.MappedMessage
-
Creates a new mapping result.
- MappedMessage(ResourceIdentifier, Buffer, Map<String, String>) - Constructor for class org.eclipse.hono.adapter.mqtt.MappedMessage
-
Creates a new mapping result.
- mapUpstreamMessage(RegistrationAssertion, Command) - Method in class org.eclipse.hono.adapter.mqtt.impl.HttpBasedMessageMapping
- mapUpstreamMessage(RegistrationAssertion, Command) - Method in interface org.eclipse.hono.adapter.mqtt.MessageMapping
-
Maps a command to be sent to a device/gateway.
- MEMORY_PER_CONNECTION - Static variable in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
-
The amount of memory (bytes) required for each connection.
- message() - Method in class org.eclipse.hono.adapter.mqtt.MqttContext
-
Gets the MQTT message to process.
- MessageMapping<T extends org.eclipse.hono.util.ExecutionContext> - Interface in org.eclipse.hono.adapter.mqtt
-
A service for either processing messages uploaded by devices before they are being forwarded downstream or mapping payload for commands to be sent to devices.
- MicrometerBasedMqttAdapterMetrics - Class in org.eclipse.hono.adapter.mqtt
-
Metrics for the MQTT based adapters.
- MicrometerBasedMqttAdapterMetrics(MeterRegistry, Vertx) - Constructor for class org.eclipse.hono.adapter.mqtt.MicrometerBasedMqttAdapterMetrics
-
Create a new metrics instance for MQTT adapters.
- MINIMAL_MEMORY_JVM - Static variable in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
-
The minimum amount of memory (bytes) that the adapter requires to run on a standard Java VM.
- MINIMAL_MEMORY_SUBSTRATE - Static variable in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
-
The minimum amount of memory (bytes) that the adapter requires to run on a Substrate VM (i.e.
- MqttAdapterMetrics - Interface in org.eclipse.hono.adapter.mqtt
-
Metrics for the MQTT adapter.
- MqttAdapterMetrics.Noop - Class in org.eclipse.hono.adapter.mqtt
-
A no-op implementation this specific metrics type.
- MqttConnectContext - Class in org.eclipse.hono.adapter.mqtt
-
Contains information required during the processing of an MQTT CONNECT packet.
- MqttContext - Class in org.eclipse.hono.adapter.mqtt
-
A dictionary of relevant information required during the processing of an MQTT message published by a device.
- MqttContext.ErrorHandlingMode - Enum in org.eclipse.hono.adapter.mqtt
-
Modes defining how to handle errors raised when a device publishes a message.
- MqttDeviceEndpoint(MqttEndpoint, Device, OptionalInt) - Constructor for class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter.MqttDeviceEndpoint
-
Creates a new MqttDeviceEndpoint.
- MqttProtocolAdapterOptions - Interface in org.eclipse.hono.adapter.mqtt
-
Options for configuring an MQTT based protocol adapter.
- MqttProtocolAdapterProperties - Class in org.eclipse.hono.adapter.mqtt
-
Properties for configuring an MQTT based protocol adapter.
- MqttProtocolAdapterProperties() - Constructor for class org.eclipse.hono.adapter.mqtt.MqttProtocolAdapterProperties
-
Creates properties using default values.
- MqttProtocolAdapterProperties(MqttProtocolAdapterOptions) - Constructor for class org.eclipse.hono.adapter.mqtt.MqttProtocolAdapterProperties
-
Creates properties using existing options.
N
- NOOP - Static variable in interface org.eclipse.hono.adapter.mqtt.MqttAdapterMetrics
-
The no-op implementation.
O
- onClose() - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter.MqttDeviceEndpoint
-
Closes a connection to a client.
- onClose(MqttEndpoint) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
-
Invoked before the connection with a device is closed.
- onCommandReceived(TenantObject, CommandSubscription, CommandContext) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter.MqttDeviceEndpoint
-
Called for a command to be delivered to a device.
- onMessageSent(MqttContext) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
-
Invoked when a message has been forwarded downstream successfully.
- onMessageUndeliverable(MqttContext) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
-
Invoked when a message could not be forwarded downstream.
- onPublishedMessage(MqttContext) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
-
Processes an MQTT message that has been published by a device.
- onPublishedMessage(MqttContext) - Method in class org.eclipse.hono.adapter.mqtt.impl.VertxBasedMqttProtocolAdapter
-
Processes an MQTT message that has been published by a device.
- onSubscribe(MqttSubscribeMessage) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter.MqttDeviceEndpoint
-
Invoked when a device sends an MQTT SUBSCRIBE packet.
- onUnsubscribe(MqttUnsubscribeMessage) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter.MqttDeviceEndpoint
-
Invoked when a device sends an MQTT UNSUBSCRIBE packet.
- org.eclipse.hono.adapter.mqtt - package org.eclipse.hono.adapter.mqtt
- org.eclipse.hono.adapter.mqtt.impl - package org.eclipse.hono.adapter.mqtt.impl
P
- parseCredentials(MqttConnectContext) - Method in class org.eclipse.hono.adapter.mqtt.ConnectPacketAuthHandler
-
Extracts credentials from a client's MQTT CONNECT packet.
- parseCredentials(MqttConnectContext) - Method in class org.eclipse.hono.adapter.mqtt.X509AuthHandler
-
Validates a client certificate and extracts credentials from it.
- PendingPubAcks - Class in org.eclipse.hono.adapter.mqtt
-
A class that handles PUBACKs for a particular MQTT endpoint.
- PendingPubAcks(Vertx) - Constructor for class org.eclipse.hono.adapter.mqtt.PendingPubAcks
-
Creates a new PendingPubAcks instance.
- propertyBag() - Method in class org.eclipse.hono.adapter.mqtt.MqttContext
-
Gets the property bag object from the property-bag set in the message's topic.
- PropertyBag - Class in org.eclipse.hono.adapter.mqtt
-
A collection of methods for processing a property-bag set at the end of a topic.
- publishError(ErrorSubscription, MqttContext, Throwable, SpanContext) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter.MqttDeviceEndpoint
-
Publishes an error message to the device.
R
- registerHandlers() - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter.MqttDeviceEndpoint
-
Registers the handlers on the contained MqttEndpoint.
S
- sendMessageToDeviceTimeout() - Method in interface org.eclipse.hono.adapter.mqtt.MqttProtocolAdapterOptions
-
Gets the waiting for acknowledgement timeout in milliseconds for commands published with QoS 1.
- setAuthHandler(AuthHandler<MqttConnectContext>) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
-
Sets the authentication handler to use for authenticating devices.
- setCommandAckTimeout(int) - Method in class org.eclipse.hono.adapter.mqtt.MqttProtocolAdapterProperties
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
MqttProtocolAdapterProperties.setSendMessageToDeviceTimeout(long)()} instead. - setContentType(String) - Method in class org.eclipse.hono.adapter.mqtt.MqttContext
-
Sets the content type of the message payload.
- setMessageMapping(MessageMapping<MqttContext>) - Method in class org.eclipse.hono.adapter.mqtt.impl.VertxBasedMqttProtocolAdapter
-
Sets a service to call out to for published MQTT messages.
- setMetrics(MqttAdapterMetrics) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
-
Sets the metrics for this service.
- setMqttInsecureServer(MqttServer) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
-
Sets the MQTT server to use for handling non-secure MQTT connections.
- setMqttSecureServer(MqttServer) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
-
Sets the MQTT server to use for handling secure MQTT connections.
- setSendMessageToDeviceTimeout(long) - Method in class org.eclipse.hono.adapter.mqtt.MqttProtocolAdapterProperties
-
Sets the waiting for acknowledgement timeout in milliseconds for commands published with QoS 1.
- setTimer(Timer.Sample) - Method in class org.eclipse.hono.adapter.mqtt.MqttContext
-
Sets the object to use for measuring the time it takes to process this request.
- setTraceSamplingPriority(OptionalInt) - Method in class org.eclipse.hono.adapter.mqtt.MqttConnectContext
-
Sets the value for the sampling.priority span tag to be used for OpenTracing spans created in connection with this context.
- SKIP_ACK - org.eclipse.hono.adapter.mqtt.MqttContext.ErrorHandlingMode
-
Ignore errors and don't send PUB_ACK if QoS is 1.
- Subscription - Interface in org.eclipse.hono.adapter.mqtt
-
MQTT subscription of a device.
- Subscription.Key - Interface in org.eclipse.hono.adapter.mqtt
-
The key to identify a subscription.
T
- tenant() - Method in class org.eclipse.hono.adapter.mqtt.MqttContext
-
Gets the tenant that the device belongs to that published the message.
- topic() - Method in class org.eclipse.hono.adapter.mqtt.MqttContext
-
Gets the topic that the message has been published to.
- topicWithoutPropertyBag() - Method in class org.eclipse.hono.adapter.mqtt.PropertyBag
-
Returns the topic without the property-bag.
U
- UNKNOWN_ENDPOINT - Static variable in class org.eclipse.hono.adapter.mqtt.ErrorSubscription
-
Endpoint used in the topic of the published error message identifying the topic endpoint in the message that lead to the error as unknown.
- uploadCommandResponseMessage(MqttContext, ResourceIdentifier) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
-
Uploads a command response message.
- uploadEventMessage(MqttContext, String, String, Buffer) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
-
Forwards an event to the AMQP Messaging Network.
- uploadMessage(MqttContext, ResourceIdentifier, MqttPublishMessage) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
-
Forwards a message to the AMQP Messaging Network.
- uploadTelemetryMessage(MqttContext, String, String, Buffer) - Method in class org.eclipse.hono.adapter.mqtt.AbstractVertxBasedMqttProtocolAdapter
-
Forwards a telemetry message to the AMQP Messaging Network.
V
- valueOf(String) - Static method in enum org.eclipse.hono.adapter.mqtt.MqttContext.ErrorHandlingMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.eclipse.hono.adapter.mqtt.MqttContext.ErrorHandlingMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VertxBasedMqttProtocolAdapter - Class in org.eclipse.hono.adapter.mqtt.impl
-
A Vert.x based Hono protocol adapter for publishing messages to Hono's Telemetry and Event APIs using MQTT.
- VertxBasedMqttProtocolAdapter() - Constructor for class org.eclipse.hono.adapter.mqtt.impl.VertxBasedMqttProtocolAdapter
X
- X509AuthHandler - Class in org.eclipse.hono.adapter.mqtt
-
A handler for authenticating an MQTT client using an X.509 client certificate.
- X509AuthHandler(X509Authentication, DeviceCredentialsAuthProvider<SubjectDnCredentials>) - Constructor for class org.eclipse.hono.adapter.mqtt.X509AuthHandler
-
Creates a new handler.
- X509AuthHandler(X509Authentication, DeviceCredentialsAuthProvider<SubjectDnCredentials>, PreCredentialsValidationHandler<MqttConnectContext>) - Constructor for class org.eclipse.hono.adapter.mqtt.X509AuthHandler
-
Creates a new handler.
All Classes All Packages