ErrorLoggingBaseHandlerWithCleanup Class
- java.
lang. Object - BaseHandler
- ErrorLoggingBaseHandler
- com.
microsoft. azure. sdk. iot. provisioning. device. transport. amqp. ErrorLoggingBaseHandlerWithCleanup
- com.
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:
onConnectionLocalOpen
public void onConnectionLocalOpen(Event event)
Parameters:
onConnectionRemoteClose
public void onConnectionRemoteClose(Event event)
Parameters:
onConnectionRemoteOpen
public void onConnectionRemoteOpen(Event event)
Parameters:
onLinkLocalClose
public void onLinkLocalClose(Event event)
Parameters:
onLinkLocalOpen
public void onLinkLocalOpen(Event event)
Parameters:
onLinkRemoteClose
public void onLinkRemoteClose(Event event)
Parameters:
onLinkRemoteOpen
public void onLinkRemoteOpen(Event event)
Parameters:
onSessionLocalClose
public void onSessionLocalClose(Event event)
Parameters:
onSessionLocalOpen
public void onSessionLocalOpen(Event event)
Parameters:
onSessionRemoteClose
public void onSessionRemoteClose(Event event)
Parameters:
onSessionRemoteOpen
public void onSessionRemoteOpen(Event event)
Parameters:
onTransportError
public void onTransportError(Event event)
Parameters:
Applies to
Azure SDK for Java