public class CbsSessionHandler extends com.microsoft.azure.sdk.iot.deps.transport.amqp.ErrorLoggingBaseHandlerWithCleanup implements LinkStateCallback
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.qpid.proton.amqp.transport.DeliveryState |
handleAuthenticationResponseMessage(int status,
String description)
This callback executes when the CBS receiver link receives an authentication message from the service.
|
void |
onReceiverLinkRemoteOpen()
Callback that executes when the receiver link has opened successfully
|
void |
onSenderLinkRemoteOpen()
Callback that executes when the sender link has opened successfully
|
void |
onSessionLocalClose(org.apache.qpid.proton.engine.Event e) |
void |
onSessionLocalOpen(org.apache.qpid.proton.engine.Event event) |
void |
onSessionRemoteClose(org.apache.qpid.proton.engine.Event e) |
void |
onSessionRemoteOpen(org.apache.qpid.proton.engine.Event e) |
void |
onTimerTask(org.apache.qpid.proton.engine.Event event) |
onConnectionLocalClose, onConnectionLocalOpen, onConnectionRemoteClose, onConnectionRemoteOpen, onLinkLocalClose, onLinkLocalOpen, onLinkRemoteClose, onLinkRemoteOpen, onTransportErroradd, children, getHandler, getHandler, handle, onConnectionBound, onConnectionFinal, onConnectionInit, onConnectionUnbound, onDelivery, onLinkFinal, onLinkFlow, onLinkInit, onLinkLocalDetach, onLinkRemoteDetach, onReactorFinal, onReactorInit, onReactorQuiesced, onSelectableError, onSelectableExpired, onSelectableFinal, onSelectableInit, onSelectableReadable, onSelectableUpdated, onSelectableWritable, onSessionFinal, onSessionInit, onTransport, onTransportClosed, onTransportHeadClosed, onTransportTailClosed, onUnhandled, setHandler, setHandlerpublic void onSessionLocalOpen(org.apache.qpid.proton.engine.Event event)
onSessionLocalOpen in interface org.apache.qpid.proton.engine.CoreHandleronSessionLocalOpen in class com.microsoft.azure.sdk.iot.deps.transport.amqp.ErrorLoggingBaseHandlerWithCleanuppublic void onSessionRemoteOpen(org.apache.qpid.proton.engine.Event e)
onSessionRemoteOpen in interface org.apache.qpid.proton.engine.CoreHandleronSessionRemoteOpen in class com.microsoft.azure.sdk.iot.deps.transport.amqp.ErrorLoggingBaseHandlerWithCleanuppublic void onSessionLocalClose(org.apache.qpid.proton.engine.Event e)
onSessionLocalClose in interface org.apache.qpid.proton.engine.CoreHandleronSessionLocalClose in class com.microsoft.azure.sdk.iot.deps.transport.amqp.ErrorLoggingBaseHandlerWithCleanuppublic void onSessionRemoteClose(org.apache.qpid.proton.engine.Event e)
onSessionRemoteClose in interface org.apache.qpid.proton.engine.CoreHandleronSessionRemoteClose in class com.microsoft.azure.sdk.iot.deps.transport.amqp.ErrorLoggingBaseHandlerWithCleanuppublic void close()
public org.apache.qpid.proton.amqp.transport.DeliveryState handleAuthenticationResponseMessage(int status,
String description)
status - The status of the authentication process (200 is successful).description - The human readable explanation for the status code.public void onSenderLinkRemoteOpen()
LinkStateCallbackonSenderLinkRemoteOpen in interface LinkStateCallbackpublic void onReceiverLinkRemoteOpen()
LinkStateCallbackonReceiverLinkRemoteOpen in interface LinkStateCallbackpublic 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.BaseHandlerCopyright © 2022. All rights reserved.