public class CloudToDeviceMessageSenderLinkHandler
extends org.apache.qpid.proton.engine.BaseHandler
| Constructor and Description |
|---|
CloudToDeviceMessageSenderLinkHandler(org.apache.qpid.proton.engine.Sender sender,
String linkCorrelationId,
com.microsoft.azure.sdk.iot.service.transport.amqps.LinkStateCallback linkStateCallback) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getLinkInstanceType() |
void |
onConnectionRemoteClose(org.apache.qpid.proton.engine.Event event) |
void |
onDelivery(org.apache.qpid.proton.engine.Event event) |
void |
onLinkFlow(org.apache.qpid.proton.engine.Event event)
Event handler for the link flow event
|
void |
onLinkInit(org.apache.qpid.proton.engine.Event event) |
void |
onLinkLocalClose(org.apache.qpid.proton.engine.Event event) |
void |
onLinkLocalOpen(org.apache.qpid.proton.engine.Event event) |
void |
onLinkRemoteClose(org.apache.qpid.proton.engine.Event event) |
void |
onLinkRemoteOpen(org.apache.qpid.proton.engine.Event event) |
void |
onTimerTask(org.apache.qpid.proton.engine.Event event) |
void |
sendAsync(String deviceId,
String moduleId,
Message iotHubMessage,
Consumer<SendResult> callback,
Object context) |
add, children, getHandler, getHandler, handle, onConnectionBound, onConnectionFinal, onConnectionInit, onConnectionLocalClose, onConnectionLocalOpen, onConnectionRemoteOpen, onConnectionUnbound, onLinkFinal, onLinkLocalDetach, onLinkRemoteDetach, onReactorFinal, onReactorInit, onReactorQuiesced, onSelectableError, onSelectableExpired, onSelectableFinal, onSelectableInit, onSelectableReadable, onSelectableUpdated, onSelectableWritable, onSessionFinal, onSessionInit, onSessionLocalClose, onSessionLocalOpen, onSessionRemoteClose, onSessionRemoteOpen, onTransport, onTransportClosed, onTransportError, onTransportHeadClosed, onTransportTailClosed, onUnhandled, setHandler, setHandlerpublic CloudToDeviceMessageSenderLinkHandler(org.apache.qpid.proton.engine.Sender sender,
String linkCorrelationId,
com.microsoft.azure.sdk.iot.service.transport.amqps.LinkStateCallback linkStateCallback)
public void sendAsync(String deviceId, String moduleId, Message iotHubMessage, Consumer<SendResult> callback, Object context)
public void onLinkFlow(org.apache.qpid.proton.engine.Event event)
onLinkFlow in interface org.apache.qpid.proton.engine.CoreHandleronLinkFlow in class org.apache.qpid.proton.engine.BaseHandlerevent - The proton event objectpublic 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.BaseHandlerpublic void onConnectionRemoteClose(org.apache.qpid.proton.engine.Event event)
onConnectionRemoteClose in interface org.apache.qpid.proton.engine.CoreHandleronConnectionRemoteClose in class org.apache.qpid.proton.engine.BaseHandlerprotected String getLinkInstanceType()
public void onLinkRemoteOpen(org.apache.qpid.proton.engine.Event event)
onLinkRemoteOpen in interface org.apache.qpid.proton.engine.CoreHandleronLinkRemoteOpen in class org.apache.qpid.proton.engine.BaseHandlerpublic void onLinkLocalOpen(org.apache.qpid.proton.engine.Event event)
onLinkLocalOpen in interface org.apache.qpid.proton.engine.CoreHandleronLinkLocalOpen 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.BaseHandlerpublic void onLinkRemoteClose(org.apache.qpid.proton.engine.Event event)
onLinkRemoteClose in interface org.apache.qpid.proton.engine.CoreHandleronLinkRemoteClose in class org.apache.qpid.proton.engine.BaseHandlerpublic void onLinkLocalClose(org.apache.qpid.proton.engine.Event event)
onLinkLocalClose in interface org.apache.qpid.proton.engine.CoreHandleronLinkLocalClose in class org.apache.qpid.proton.engine.BaseHandlerCopyright © 2024. All rights reserved.