Uses of Interface
org.apache.qpid.protonj2.client.ErrorCondition
Package
Description
-
Uses of ErrorCondition in org.apache.qpid.protonj2.client
Modifier and TypeMethodDescriptionstatic ErrorCondition
Create an error condition object using the supplied values.static ErrorCondition
Create an error condition object using the supplied values.Modifier and TypeMethodDescriptionvoid
Connection.close
(ErrorCondition error) Requests a close of theConnection
at the remote and waits until the Connection has been fully closed or until the configuredConnectionOptions.closeTimeout()
is exceeded.void
Link.close
(ErrorCondition error) Requests a close of theLink
at the remote and waits until the Link has been fully closed or until the configuredLinkOptions.closeTimeout()
is exceeded.void
Session.close
(ErrorCondition error) Requests a close of theSession
at the remote and waits until the Session has been fully closed or until the configuredSessionOptions.closeTimeout()
is exceeded.Connection.closeAsync
(ErrorCondition error) Requests a close of theConnection
at the remote and returns aFuture
that will be completed once the Connection has been fully closed.Link.closeAsync
(ErrorCondition error) Session.closeAsync
(ErrorCondition error) void
Link.detach
(ErrorCondition error) Requests a detach of theLink
at the remote and waits until the Link has been fully detached or until the configuredLinkOptions.closeTimeout()
is exceeded.Link.detachAsync
(ErrorCondition error) -
Uses of ErrorCondition in org.apache.qpid.protonj2.client.exceptions
Modifier and TypeMethodDescriptionClientConnectionRemotelyClosedException.getErrorCondition()
ClientResourceRemotelyClosedException.getErrorCondition()
ModifierConstructorDescriptionClientConnectionRedirectedException
(String reason, ClientRedirect redirect, ErrorCondition condition) Creates a new connection redirect exception with the provided redirection information.ClientConnectionRemotelyClosedException
(String message, Throwable cause, ErrorCondition condition) Creates a new connection remotely closed exception.ClientConnectionRemotelyClosedException
(String message, ErrorCondition condition) Creates a new connection remotely closed exception.ClientConnectionSecurityException
(String message, Throwable cause, ErrorCondition errorCondition) Creates a new connection security exception.ClientConnectionSecurityException
(String message, ErrorCondition errorCondition) Creates a new connection security exception.ClientLinkRedirectedException
(String reason, ClientRedirect redirect, ErrorCondition condition) Create a new instance of the link redirected exceptionClientLinkRemotelyClosedException
(String message, Throwable cause, ErrorCondition condition) Creates a new link remotely closed exception.ClientLinkRemotelyClosedException
(String message, ErrorCondition condition) Creates a new link remotely closed exception.ClientResourceRemotelyClosedException
(String message, Throwable cause, ErrorCondition condition) Creates a new resource remotely closed exception.ClientResourceRemotelyClosedException
(String message, ErrorCondition condition) Creates a new resource remotely closed exception.ClientSessionRemotelyClosedException
(String message, Throwable cause, ErrorCondition condition) Creates a new session remotely closed exception.ClientSessionRemotelyClosedException
(String message, ErrorCondition condition) Creates a new session remotely closed exception. -
Uses of ErrorCondition in org.apache.qpid.protonj2.client.impl
Modifier and TypeClassDescriptionfinal class
Client implementation of theErrorCondition
type that wraps a Proton specific AMQPErrorCondition
.Modifier and TypeMethodDescriptionvoid
ClientConnection.close
(ErrorCondition error) void
ClientLinkType.close
(ErrorCondition error) void
ClientSession.close
(ErrorCondition error) ClientConnection.closeAsync
(ErrorCondition error) ClientLinkType.closeAsync
(ErrorCondition error) ClientSession.closeAsync
(ErrorCondition error) void
ClientLinkType.detach
(ErrorCondition error) ClientLinkType.detachAsync
(ErrorCondition error) ModifierConstructorDescriptionClientErrorCondition
(ErrorCondition condition) Create a newClientErrorCondition
that is a copy of the provided instance.