public class AmqpFeedbackReceivedHandler extends AmqpConnectionHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
ENDPOINT |
static String |
RECEIVE_TAG |
connection, hostName, iotHubServiceClientProtocol, proxyOptions, sasToken, sslContext, userName| Constructor and Description |
|---|
AmqpFeedbackReceivedHandler(String hostName,
String userName,
String sasToken,
IotHubServiceClientProtocol iotHubServiceClientProtocol,
AmqpFeedbackReceivedEvent amqpFeedbackReceivedEvent)
Constructor to set up connection parameters and initialize
handshaker and flow controller for transport
|
AmqpFeedbackReceivedHandler(String hostName,
String userName,
String sasToken,
IotHubServiceClientProtocol iotHubServiceClientProtocol,
AmqpFeedbackReceivedEvent amqpFeedbackReceivedEvent,
ProxyOptions proxyOptions)
Constructor to set up connection parameters and initialize
handshaker and flow controller for transport
|
AmqpFeedbackReceivedHandler(String hostName,
String userName,
String sasToken,
IotHubServiceClientProtocol iotHubServiceClientProtocol,
AmqpFeedbackReceivedEvent amqpFeedbackReceivedEvent,
ProxyOptions proxyOptions,
SSLContext sslContext)
Constructor to set up connection parameters and initialize
handshaker and flow controller for transport
|
| Modifier and Type | Method and Description |
|---|---|
void |
onAuthenticationSucceeded() |
void |
onDelivery(org.apache.qpid.proton.engine.Event event)
Event handler for the on delivery event
|
void |
onTimerTask(org.apache.qpid.proton.engine.Event event) |
getConnectionId, onAuthenticationFailed, onConnectionBound, onConnectionInit, onConnectionRemoteOpen, onLinkRemoteOpen, onReactorInit, onSessionRemoteOpen, verifyConnectionWasOpenedonConnectionLocalClose, onConnectionLocalOpen, onConnectionRemoteClose, onLinkLocalClose, onLinkLocalOpen, onLinkRemoteClose, onSessionLocalClose, onSessionLocalOpen, onSessionRemoteClose, onTransportErroradd, children, getHandler, getHandler, handle, onConnectionFinal, onConnectionUnbound, onLinkFinal, onLinkFlow, onLinkInit, onLinkLocalDetach, onLinkRemoteDetach, onReactorFinal, onReactorQuiesced, onSelectableError, onSelectableExpired, onSelectableFinal, onSelectableInit, onSelectableReadable, onSelectableUpdated, onSelectableWritable, onSessionFinal, onSessionInit, onTransport, onTransportClosed, onTransportHeadClosed, onTransportTailClosed, onUnhandled, setHandler, setHandlerpublic static final String RECEIVE_TAG
public static final String ENDPOINT
public AmqpFeedbackReceivedHandler(String hostName, String userName, String sasToken, IotHubServiceClientProtocol iotHubServiceClientProtocol, AmqpFeedbackReceivedEvent amqpFeedbackReceivedEvent)
hostName - The address string of the service (example: AAA.BBB.CCC)userName - The username string to use SASL authentication (example: user@sas.service)sasToken - The SAS token stringiotHubServiceClientProtocol - protocol to useamqpFeedbackReceivedEvent - callback to delegate the received message to the user APIpublic AmqpFeedbackReceivedHandler(String hostName, String userName, String sasToken, IotHubServiceClientProtocol iotHubServiceClientProtocol, AmqpFeedbackReceivedEvent amqpFeedbackReceivedEvent, ProxyOptions proxyOptions)
hostName - The address string of the service (example: AAA.BBB.CCC)userName - The username string to use SASL authentication (example: user@sas.service)sasToken - The SAS token stringiotHubServiceClientProtocol - protocol to useamqpFeedbackReceivedEvent - callback to delegate the received message to the user APIproxyOptions - the proxy options to tunnel through, if a proxy should be used.public AmqpFeedbackReceivedHandler(String hostName, String userName, String sasToken, IotHubServiceClientProtocol iotHubServiceClientProtocol, AmqpFeedbackReceivedEvent amqpFeedbackReceivedEvent, ProxyOptions proxyOptions, SSLContext sslContext)
hostName - The address string of the service (example: AAA.BBB.CCC)userName - The username string to use SASL authentication (example: user@sas.service)sasToken - The SAS token stringiotHubServiceClientProtocol - protocol to useamqpFeedbackReceivedEvent - callback to delegate the received message to the user APIproxyOptions - the proxy options to tunnel through, if a proxy should be used.sslContext - the SSL context to use during the TLS handshake when opening the connection. If null, a default
SSL context will be generated. This default SSLContext trusts the IoT Hub public certificates.public void onTimerTask(org.apache.qpid.proton.engine.Event event)
onTimerTask in interface org.apache.qpid.proton.engine.CoreHandleronTimerTask in class org.apache.qpid.proton.engine.BaseHandlerpublic void onDelivery(org.apache.qpid.proton.engine.Event event)
onDelivery in interface org.apache.qpid.proton.engine.CoreHandleronDelivery in class org.apache.qpid.proton.engine.BaseHandlerevent - The proton event objectpublic void onAuthenticationSucceeded()
Copyright © 2022. All rights reserved.