ErrorLoggingBaseHandlerWithCleanup Class
- java.
lang. Object - org.
apache. qpid. proton. engine. BaseHandler - com.
microsoft. azure. sdk. iot. deps. transport. amqp. ErrorLoggingBaseHandler - com.
microsoft. azure. sdk. iot. deps. transport. amqp. ErrorLoggingBaseHandlerWithCleanup
- com.
- com.
- org.
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.
Constructor Summary
Constructor | Description | |
---|---|---|
ErrorLoggingBaseHandlerWithCleanup() |
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) |
Methods inherited from ErrorLoggingBaseHandler
Methods inherited from java.lang.Object
Methods inherited from org.apache.qpid.proton.engine.BaseHandler
Constructor Details
ErrorLoggingBaseHandlerWithCleanup
public ErrorLoggingBaseHandlerWithCleanup()
Method Details
onConnectionLocalClose
public void onConnectionLocalClose(Event event)
Overrides:
ErrorLoggingBaseHandlerWithCleanup.onConnectionLocalClose(Event event)Parameters:
onConnectionLocalOpen
public void onConnectionLocalOpen(Event event)
Overrides:
ErrorLoggingBaseHandlerWithCleanup.onConnectionLocalOpen(Event event)Parameters:
onConnectionRemoteClose
public void onConnectionRemoteClose(Event event)
Overrides:
ErrorLoggingBaseHandlerWithCleanup.onConnectionRemoteClose(Event event)Parameters:
onConnectionRemoteOpen
public void onConnectionRemoteOpen(Event event)
Overrides:
ErrorLoggingBaseHandlerWithCleanup.onConnectionRemoteOpen(Event event)Parameters:
onLinkLocalClose
public void onLinkLocalClose(Event event)
Overrides:
ErrorLoggingBaseHandlerWithCleanup.onLinkLocalClose(Event event)Parameters:
onLinkLocalOpen
public void onLinkLocalOpen(Event event)
Overrides:
ErrorLoggingBaseHandlerWithCleanup.onLinkLocalOpen(Event event)Parameters:
onLinkRemoteClose
public void onLinkRemoteClose(Event event)
Overrides:
ErrorLoggingBaseHandlerWithCleanup.onLinkRemoteClose(Event event)Parameters:
onLinkRemoteOpen
public void onLinkRemoteOpen(Event event)
Overrides:
ErrorLoggingBaseHandlerWithCleanup.onLinkRemoteOpen(Event event)Parameters:
onSessionLocalClose
public void onSessionLocalClose(Event event)
Overrides:
ErrorLoggingBaseHandlerWithCleanup.onSessionLocalClose(Event event)Parameters:
onSessionLocalOpen
public void onSessionLocalOpen(Event event)
Overrides:
ErrorLoggingBaseHandlerWithCleanup.onSessionLocalOpen(Event event)Parameters:
onSessionRemoteClose
public void onSessionRemoteClose(Event event)
Overrides:
ErrorLoggingBaseHandlerWithCleanup.onSessionRemoteClose(Event event)Parameters:
onSessionRemoteOpen
public void onSessionRemoteOpen(Event event)
Overrides:
ErrorLoggingBaseHandlerWithCleanup.onSessionRemoteOpen(Event event)Parameters:
onTransportError
public void onTransportError(Event event)
Overrides:
ErrorLoggingBaseHandlerWithCleanup.onTransportError(Event event)Parameters:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for