Uses of Class
org.apache.qpid.protonj2.types.transport.ErrorCondition
Package
Description
-
Uses of ErrorCondition in org.apache.qpid.protonj2.codec.decoders.transport
Modifier and TypeMethodDescriptionErrorConditionTypeDecoder.readArrayElements
(InputStream stream, StreamDecoderState state, int count) ErrorConditionTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) ErrorConditionTypeDecoder.readValue
(InputStream stream, StreamDecoderState state) ErrorConditionTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) -
Uses of ErrorCondition in org.apache.qpid.protonj2.codec.encoders.transport
Modifier and TypeMethodDescriptionint
ErrorConditionTypeEncoder.getElementCount
(ErrorCondition error) byte
ErrorConditionTypeEncoder.getListEncoding
(ErrorCondition value) void
ErrorConditionTypeEncoder.writeElement
(ErrorCondition error, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) -
Uses of ErrorCondition in org.apache.qpid.protonj2.engine
Modifier and TypeMethodDescriptionEndpoint.getCondition()
Transaction.getCondition()
If the declare or discharge of the transaction caused its state to becomeTransactionState
FAILED this method returns theErrorCondition
that the remote used to describe the reason for the failure.Endpoint.getRemoteCondition()
If the remote has closed thisEndpoint
and provided anErrorCondition
as part of the closing AMQP performative then this method will return it.Modifier and TypeMethodDescriptionTransactionManager.declareFailed
(Transaction<TransactionManager> transaction, ErrorCondition condition) Respond to a previousDeclare
request from the remoteTransactionController
indicating that the requested transaction declaration has failed and is not active.TransactionManager.dischargeFailed
(Transaction<TransactionManager> transaction, ErrorCondition condition) Respond to a previousDischarge
request from the remoteTransactionController
indicating that the discharge resulted in an error and the transaction must be considered rolled back.Endpoint.setCondition
(ErrorCondition condition) Sets the localErrorCondition
to be applied to aEndpoint
close. -
Uses of ErrorCondition in org.apache.qpid.protonj2.engine.impl
Modifier and TypeMethodDescriptionProtonEndpoint.getCondition()
ProtonTransaction.getCondition()
ProtonTransactionController.getCondition()
ProtonTransactionManager.getCondition()
ProtonEndpoint.getRemoteCondition()
ProtonTransactionController.getRemoteCondition()
ProtonTransactionManager.getRemoteCondition()
Modifier and TypeMethodDescriptionProtonTransactionManager.declareFailed
(Transaction<TransactionManager> transaction, ErrorCondition condition) ProtonTransactionManager.dischargeFailed
(Transaction<TransactionManager> transaction, ErrorCondition condition) ProtonEndpoint.setCondition
(ErrorCondition condition) ProtonTransactionController.setCondition
(ErrorCondition condition) ProtonTransactionManager.setCondition
(ErrorCondition condition) -
Uses of ErrorCondition in org.apache.qpid.protonj2.types.messaging
-
Uses of ErrorCondition in org.apache.qpid.protonj2.types.transport
Modifier and TypeMethodDescriptionErrorCondition.copy()
Close.getError()
Detach.getError()
End.getError()
Modifier and TypeMethodDescriptionClose.setError
(ErrorCondition error) Sets the error that should be conveyed with the AMQPClose
.Detach.setError
(ErrorCondition error) End.setError
(ErrorCondition error)