ErrorLoggingBaseHandlerWithCleanup Class

  • java.lang.Object
    • BaseHandler
      • ErrorLoggingBaseHandler
        • com.microsoft.azure.sdk.iot.provisioning.device.transport.amqp.ErrorLoggingBaseHandlerWithCleanup

public class ErrorLoggingBaseHandlerWithCleanup extends ErrorLoggingBaseHandler

Base Handler that logs connection/session/link opening. It also has logic to tear down the connection/session/link and stop the reactor if the connection, session, and/or link is closed remotely. This base handler assumes a single link in a single session in a single connection.

Method Summary

Modifier and Type Method and Description
void onConnectionLocalClose(Event event)
void onConnectionLocalOpen(Event event)
void onConnectionRemoteClose(Event event)
void onConnectionRemoteOpen(Event event)
void onLinkLocalClose(Event event)
void onLinkLocalOpen(Event event)
void onLinkRemoteClose(Event event)
void onLinkRemoteOpen(Event event)
void onSessionLocalClose(Event event)
void onSessionLocalOpen(Event event)
void onSessionRemoteClose(Event event)
void onSessionRemoteOpen(Event event)
void onTransportError(Event event)

Inherited Members

Method Details

onConnectionLocalClose

public void onConnectionLocalClose(Event event)

Parameters:

event

onConnectionLocalOpen

public void onConnectionLocalOpen(Event event)

Parameters:

event

onConnectionRemoteClose

public void onConnectionRemoteClose(Event event)

Parameters:

event

onConnectionRemoteOpen

public void onConnectionRemoteOpen(Event event)

Parameters:

event

onLinkLocalClose

public void onLinkLocalClose(Event event)

Parameters:

event

onLinkLocalOpen

public void onLinkLocalOpen(Event event)

Parameters:

event

onLinkRemoteClose

public void onLinkRemoteClose(Event event)

Parameters:

event

onLinkRemoteOpen

public void onLinkRemoteOpen(Event event)

Parameters:

event

onSessionLocalClose

public void onSessionLocalClose(Event event)

Parameters:

event

onSessionLocalOpen

public void onSessionLocalOpen(Event event)

Parameters:

event

onSessionRemoteClose

public void onSessionRemoteClose(Event event)

Parameters:

event

onSessionRemoteOpen

public void onSessionRemoteOpen(Event event)

Parameters:

event

onTransportError

public void onTransportError(Event event)

Parameters:

event

Applies to