Uses of Interface
org.apache.qpid.protonj2.client.ErrorCondition
-
Packages that use ErrorCondition Package Description org.apache.qpid.protonj2.client org.apache.qpid.protonj2.client.exceptions org.apache.qpid.protonj2.client.impl -
-
Uses of ErrorCondition in org.apache.qpid.protonj2.client
Methods in org.apache.qpid.protonj2.client that return ErrorCondition Modifier and Type Method Description static ErrorCondition
ErrorCondition. create(java.lang.String condition, java.lang.String description)
Create an error condition object using the supplied values.static ErrorCondition
ErrorCondition. create(java.lang.String condition, java.lang.String description, java.util.Map<java.lang.String,java.lang.Object> info)
Create an error condition object using the supplied values.Methods in org.apache.qpid.protonj2.client with parameters of type ErrorCondition Modifier and Type Method Description void
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
Receiver. close(ErrorCondition error)
Requests a close of theReceiver
at the remote and waits until the Receiver has been fully closed or until the configuredReceiverOptions.closeTimeout()
is exceeded.void
Sender. close(ErrorCondition error)
Requests a close of theSender
at the remote and waits until the Sender has been fully closed or until the configuredSenderOptions.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.java.util.concurrent.Future<Connection>
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.java.util.concurrent.Future<Receiver>
Receiver. closeAsync(ErrorCondition error)
Requests a close of theReceiver
link at the remote and returns aFuture
that will be completed once the link has been closed.java.util.concurrent.Future<Sender>
Sender. closeAsync(ErrorCondition error)
Requests a close of theSender
link at the remote and returns aFuture
that will be completed once the link has been closed.java.util.concurrent.Future<Session>
Session. closeAsync(ErrorCondition error)
Requests a close of theSession
at the remote and returns aFuture
that will be completed once the session has been remotely closed or an error occurs.void
Receiver. detach(ErrorCondition error)
Requests a detach of theReceiver
at the remote and waits until the Receiver has been fully detached or until the configuredSenderOptions.closeTimeout()
is exceeded.void
Sender. detach(ErrorCondition error)
Requests a detach of theSender
at the remote and waits until the Sender has been fully detached or until the configuredSenderOptions.closeTimeout()
is exceeded.java.util.concurrent.Future<Receiver>
Receiver. detachAsync(ErrorCondition error)
Requests a detach of theReceiver
link at the remote and returns aFuture
that will be completed once the link has been detached.java.util.concurrent.Future<Sender>
Sender. detachAsync(ErrorCondition error)
Requests a detach of theSender
link at the remote and returns aFuture
that will be completed once the link has been detached. -
Uses of ErrorCondition in org.apache.qpid.protonj2.client.exceptions
Methods in org.apache.qpid.protonj2.client.exceptions that return ErrorCondition Modifier and Type Method Description ErrorCondition
ClientConnectionRemotelyClosedException. getErrorCondition()
ErrorCondition
ClientResourceRemotelyClosedException. getErrorCondition()
Constructors in org.apache.qpid.protonj2.client.exceptions with parameters of type ErrorCondition Constructor Description ClientConnectionRedirectedException(java.lang.String reason, ClientRedirect redirect, ErrorCondition condition)
Creates a new connection redirect exception with the provided redirection information.ClientConnectionRemotelyClosedException(java.lang.String message, java.lang.Throwable cause, ErrorCondition condition)
Creates a new connection remotely closed exception.ClientConnectionRemotelyClosedException(java.lang.String message, ErrorCondition condition)
Creates a new connection remotely closed exception.ClientConnectionSecurityException(java.lang.String message, java.lang.Throwable cause, ErrorCondition errorCondition)
Creates a new connection security exception.ClientConnectionSecurityException(java.lang.String message, ErrorCondition errorCondition)
Creates a new connection security exception.ClientLinkRedirectedException(java.lang.String reason, ClientRedirect redirect, ErrorCondition condition)
Create a new instance of the link redirected exceptionClientLinkRemotelyClosedException(java.lang.String message, java.lang.Throwable cause, ErrorCondition condition)
Creates a new link remotely closed exception.ClientLinkRemotelyClosedException(java.lang.String message, ErrorCondition condition)
Creates a new link remotely closed exception.ClientResourceRemotelyClosedException(java.lang.String message, java.lang.Throwable cause, ErrorCondition condition)
Creates a new resource remotely closed exception.ClientResourceRemotelyClosedException(java.lang.String message, ErrorCondition condition)
Creates a new resource remotely closed exception.ClientSessionRemotelyClosedException(java.lang.String message, java.lang.Throwable cause, ErrorCondition condition)
Creates a new session remotely closed exception.ClientSessionRemotelyClosedException(java.lang.String message, ErrorCondition condition)
Creates a new session remotely closed exception. -
Uses of ErrorCondition in org.apache.qpid.protonj2.client.impl
Classes in org.apache.qpid.protonj2.client.impl that implement ErrorCondition Modifier and Type Class Description class
ClientErrorCondition
Client implementation of theErrorCondition
type that wraps a Proton specific AMQPErrorCondition
.Methods in org.apache.qpid.protonj2.client.impl with parameters of type ErrorCondition Modifier and Type Method Description void
ClientConnection. close(ErrorCondition error)
void
ClientReceiver. close(ErrorCondition error)
void
ClientSession. close(ErrorCondition error)
void
ClientStreamReceiver. close(ErrorCondition error)
java.util.concurrent.Future<Connection>
ClientConnection. closeAsync(ErrorCondition error)
ClientFuture<Receiver>
ClientReceiver. closeAsync(ErrorCondition error)
java.util.concurrent.Future<Session>
ClientSession. closeAsync(ErrorCondition error)
ClientFuture<Receiver>
ClientStreamReceiver. closeAsync(ErrorCondition error)
void
ClientReceiver. detach(ErrorCondition error)
void
ClientStreamReceiver. detach(ErrorCondition error)
ClientFuture<Receiver>
ClientReceiver. detachAsync(ErrorCondition error)
ClientFuture<Receiver>
ClientStreamReceiver. detachAsync(ErrorCondition error)
Constructors in org.apache.qpid.protonj2.client.impl with parameters of type ErrorCondition Constructor Description ClientErrorCondition(ErrorCondition condition)
Create a newClientErrorCondition
that is a copy of the provided instance.
-