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(String condition, String description)
Create an error condition object using the supplied values.static ErrorCondition
ErrorCondition. create(String condition, String description, Map<String,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
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.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.Future<T>
Link. closeAsync(ErrorCondition error)
Future<Session>
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.Future<T>
Link. detachAsync(ErrorCondition error)
-
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(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
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
ClientLinkType. close(ErrorCondition error)
void
ClientSession. close(ErrorCondition error)
Future<Connection>
ClientConnection. closeAsync(ErrorCondition error)
ClientFuture<LinkType>
ClientLinkType. closeAsync(ErrorCondition error)
Future<Session>
ClientSession. closeAsync(ErrorCondition error)
void
ClientLinkType. detach(ErrorCondition error)
ClientFuture<LinkType>
ClientLinkType. 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.
-