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 ErrorConditionErrorCondition. create(java.lang.String condition, java.lang.String description)Create an error condition object using the supplied values.static ErrorConditionErrorCondition. 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 voidConnection. close(ErrorCondition error)Requests a close of theConnectionat the remote and waits until the Connection has been fully closed or until the configuredConnectionOptions.closeTimeout()is exceeded.voidReceiver. close(ErrorCondition error)Requests a close of theReceiverat the remote and waits until the Receiver has been fully closed or until the configuredReceiverOptions.closeTimeout()is exceeded.voidSender. close(ErrorCondition error)Requests a close of theSenderat the remote and waits until the Sender has been fully closed or until the configuredSenderOptions.closeTimeout()is exceeded.voidSession. close(ErrorCondition error)Requests a close of theSessionat 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 theConnectionat the remote and returns aFuturethat will be completed once the Connection has been fully closed.java.util.concurrent.Future<Receiver>Receiver. closeAsync(ErrorCondition error)Requests a close of theReceiverlink at the remote and returns aFuturethat will be completed once the link has been closed.java.util.concurrent.Future<Sender>Sender. closeAsync(ErrorCondition error)Requests a close of theSenderlink at the remote and returns aFuturethat will be completed once the link has been closed.java.util.concurrent.Future<Session>Session. closeAsync(ErrorCondition error)Requests a close of theSessionat the remote and returns aFuturethat will be completed once the session has been remotely closed or an error occurs.voidReceiver. detach(ErrorCondition error)Requests a detach of theReceiverat the remote and waits until the Receiver has been fully detached or until the configuredSenderOptions.closeTimeout()is exceeded.voidSender. detach(ErrorCondition error)Requests a detach of theSenderat 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 theReceiverlink at the remote and returns aFuturethat will be completed once the link has been detached.java.util.concurrent.Future<Sender>Sender. detachAsync(ErrorCondition error)Requests a detach of theSenderlink at the remote and returns aFuturethat 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 ErrorConditionClientConnectionRemotelyClosedException. getErrorCondition()ErrorConditionClientResourceRemotelyClosedException. 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 classClientErrorConditionClient implementation of theErrorConditiontype that wraps a Proton specific AMQPErrorCondition.Methods in org.apache.qpid.protonj2.client.impl with parameters of type ErrorCondition Modifier and Type Method Description voidClientConnection. close(ErrorCondition error)voidClientReceiver. close(ErrorCondition error)voidClientSession. close(ErrorCondition error)voidClientStreamReceiver. 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)voidClientReceiver. detach(ErrorCondition error)voidClientStreamReceiver. 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 newClientErrorConditionthat is a copy of the provided instance.
-