public class AmqpFeedbackReceivedHandler
extends org.apache.qpid.proton.engine.BaseHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
ENDPOINT |
protected IotHubServiceClientProtocol |
iotHubServiceClientProtocol |
static String |
RECEIVE_TAG |
static String |
SEND_PORT_AMQPS |
static String |
SEND_PORT_AMQPS_WS |
static String |
WEBSOCKET_PATH |
static String |
WEBSOCKET_SUB_PROTOCOL |
protected String |
webSocketHostName |
| 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
|
| Modifier and Type | Method and Description |
|---|---|
void |
onConnectionBound(org.apache.qpid.proton.engine.Event event) |
void |
onConnectionInit(org.apache.qpid.proton.engine.Event event) |
void |
onDelivery(org.apache.qpid.proton.engine.Event event)
Event handler for the on delivery event
|
void |
onLinkInit(org.apache.qpid.proton.engine.Event event) |
add, children, getHandler, getHandler, handle, onConnectionFinal, onConnectionLocalClose, onConnectionLocalOpen, onConnectionRemoteClose, onConnectionRemoteOpen, onConnectionUnbound, onLinkFinal, onLinkFlow, onLinkLocalClose, onLinkLocalDetach, onLinkLocalOpen, onLinkRemoteClose, onLinkRemoteDetach, onLinkRemoteOpen, onReactorFinal, onReactorInit, onReactorQuiesced, onSelectableError, onSelectableExpired, onSelectableFinal, onSelectableInit, onSelectableReadable, onSelectableUpdated, onSelectableWritable, onSessionFinal, onSessionInit, onSessionLocalClose, onSessionLocalOpen, onSessionRemoteClose, onSessionRemoteOpen, onTimerTask, onTransport, onTransportClosed, onTransportError, onTransportHeadClosed, onTransportTailClosed, onUnhandled, setHandler, setHandlerpublic static final String RECEIVE_TAG
public static final String SEND_PORT_AMQPS
public static final String SEND_PORT_AMQPS_WS
public static final String ENDPOINT
public static final String WEBSOCKET_PATH
public static final String WEBSOCKET_SUB_PROTOCOL
protected final IotHubServiceClientProtocol iotHubServiceClientProtocol
protected final String webSocketHostName
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 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 onConnectionBound(org.apache.qpid.proton.engine.Event event)
onConnectionBound in interface org.apache.qpid.proton.engine.CoreHandleronConnectionBound in class org.apache.qpid.proton.engine.BaseHandlerpublic void onConnectionInit(org.apache.qpid.proton.engine.Event event)
onConnectionInit in interface org.apache.qpid.proton.engine.CoreHandleronConnectionInit in class org.apache.qpid.proton.engine.BaseHandlerpublic void onLinkInit(org.apache.qpid.proton.engine.Event event)
onLinkInit in interface org.apache.qpid.proton.engine.CoreHandleronLinkInit in class org.apache.qpid.proton.engine.BaseHandlerCopyright © 2017. All rights reserved.