Uses of Class
org.apache.qpid.protonj2.client.exceptions.ClientException
Package
Description
-
Uses of ClientException in org.apache.qpid.protonj2.client
Modifier and TypeMethodDescriptionStreamSenderMessage.abort()
Marks the currently streaming message as being aborted.long
Message.absoluteExpiryTime()
Message.absoluteExpiryTime
(long expiryTime) Sets the absolute expiration time value to assign to thisMessage
.Delivery.accept()
Accepts and settles the delivery.StreamDelivery.accept()
Accepts and settles the delivery.AdvancedMessage.addBodySection
(Section<?> bodySection) Adds the givenSection
to the internal collection of sections that will be sent to the remote peer when this message is encoded.Receiver.addCredit
(int credits) Adds credit to theReceiver
link for use when there receiver has not been configured with a credit window.StreamReceiver.addCredit
(int credits) Adds credit to theStreamReceiver
link for use when the receiver has not been configured with a credit window.Link.address()
Returns the address that theLink
instance will be subscribed to.Message.annotation
(String key) Returns the requested message annotation value from thisMessage
if it exists or returns null otherwise.Message.annotation
(String key, Object value) Sets the given message annotation value at the given key, replacing any previous value that was assigned to thisMessage
.AdvancedMessage.annotations()
Return the currentMessageAnnotations
assigned to this message, if none was assigned yet then this method returnsnull
.AdvancedMessage.annotations
(MessageAnnotations messageAnnotations) Assign or replace theMessageAnnotations
instance associated with this message.Delivery.annotations()
Decodes theDelivery
payload and returns aMap
containing a copy of any associatedDeliveryAnnotations
that were transmitted with theMessage
payload of thisDelivery
.StreamDelivery.annotations()
Decodes theStreamDelivery
payload and returns aMap
containing a copy of any associatedDeliveryAnnotations
that were transmitted with theMessage
payload of thisStreamDelivery
.AdvancedMessage.applicationProperties()
Return the currentApplicationProperties
assigned to this message, if none was assigned yet then this method returnsnull
.AdvancedMessage.applicationProperties
(ApplicationProperties applicationProperties) Assign or replace theApplicationProperties
instance associated with this message.StreamTracker.awaitAccepted()
Waits if necessary for the remote to settle the sent delivery with anAccepted
disposition unless it has either already been settled and accepted or the original delivery was sent settled in which case the remote will not send aDisposition
back.StreamTracker.awaitAccepted
(long timeout, TimeUnit unit) Waits if necessary for the remote to settle the sent delivery with anAccepted
disposition unless it has either already been settled and accepted or the original delivery was sent settled in which case the remote will not send aDisposition
back.Tracker.awaitAccepted()
Waits if necessary for the remote to settle the sent delivery with anAccepted
disposition unless it has either already been settled and accepted or the original delivery was sent settled in which case the remote will not send aDisposition
back.Tracker.awaitAccepted
(long timeout, TimeUnit unit) Waits if necessary for the remote to settle the sent delivery with anAccepted
disposition unless it has either already been settled and accepted or the original delivery was sent settled in which case the remote will not send aDisposition
back.StreamTracker.awaitSettlement()
Waits if necessary for the remote to settle the sent delivery unless it has either already been settled or the original delivery was sent settled in which case the remote will not send aDisposition
back.StreamTracker.awaitSettlement
(long timeout, TimeUnit unit) Waits if necessary for the remote to settle the sent delivery unless it has either already been settled or the original delivery was sent settled in which case the remote will not send aDisposition
back.Tracker.awaitSettlement()
Waits if necessary for the remote to settle the sent delivery unless it has either already been settled or the original delivery was sent settled in which case the remote will not send aDisposition
back.Tracker.awaitSettlement
(long timeout, TimeUnit unit) Waits if necessary for the remote to settle the sent delivery unless it has either already been settled or the original delivery was sent settled in which case the remote will not send aDisposition
back.StreamSender.beginMessage()
Creates and returns a newStreamSenderMessage
that can be used by the caller to perform streaming sends of large message payload data.StreamSender.beginMessage
(Map<String, Object> deliveryAnnotations) Creates and returns a newStreamSenderMessage
that can be used by the caller to perform streaming sends of large message payload data.Session.beginTransaction()
Opens a new transaction scoped to thisSession
if one is not already active.Message.body()
Returns the body value that is conveyed in this message or null if no body was set locally or sent from the remote if this is an incoming message.Sets the body value that is to be conveyed to the remote when this message is sent.StreamSenderMessage.body
(OutputStreamOptions options) Creates anOutputStream
instance configured with the given options which will write the bytes as the payload of one or more AMQPData
sections based on the provided configuration..Collection<Section<?>>
AdvancedMessage.bodySections()
Create and return an unmodifiableCollection
that contains theSection
instances currently assigned to this message.AdvancedMessage.bodySections
(Collection<Section<?>> sections) Sets the bodySection
instances to use when encoding this message.AdvancedMessage.clearBodySections()
Clears all current bodySection
elements from theAdvancedMessage
.Session.commitTransaction()
Commit the currently active transaction in this Session.StreamSenderMessage.complete()
Marks the currently streaming message as being complete.Connect to the specified host, using the default port, without credentials and with all connection options set to their defaults.Connect to the specified host and port, without credentials and with all connection options set to their defaults.Client.connect
(String host, int port, ConnectionOptions options) Connect to the specified host and port, with given connection options.Client.connect
(String host, ConnectionOptions options) Connect to the specified host, using the default port, without credentials and with all connection options set to their defaults.Message.contentEncoding()
Message<?>
Message.contentEncoding
(String contentEncoding) Sets the contentEncoding value to assign to thisMessage
.Message.contentType()
Message.contentType
(String contentType) Sets the contentType value to assign to thisMessage
.Message.correlationId()
Message.correlationId
(Object correlationId) Sets the correlationId value to assign to thisMessage
.long
Message.creationTime()
Message.creationTime
(long createTime) Sets the creation time value to assign to thisMessage
.Connection.defaultSender()
Returns the default anonymous sender used by thisConnection
forConnection.send(Message)
calls.Connection.defaultSession()
long
Message.deliveryCount()
Message.deliveryCount
(long deliveryCount) Sets the value to assign to the delivery count field of thisMessage
.String[]
Connection.desiredCapabilities()
Returns the desired capabilities that the remote provided upon successfully opening theConnection
.String[]
Link.desiredCapabilities()
Returns the desired capabilities that the remote provided upon successfully opening theLink
.String[]
Session.desiredCapabilities()
Returns the desired capabilities that the remote provided upon successfully opening theSession
.Delivery.disposition
(DeliveryState state, boolean settle) Updates the DeliveryState, and optionally settle the delivery as well.StreamDelivery.disposition
(DeliveryState state, boolean settle) Updates the DeliveryState, and optionally settle the delivery as well.StreamTracker.disposition
(DeliveryState state, boolean settle) Updates the DeliveryState, and optionally settle the delivery as well.Tracker.disposition
(DeliveryState state, boolean settle) Updates the DeliveryState, and optionally settle the delivery as well.Receiver.drain()
Requests the remote to drain previously granted credit for thisReceiver
link.StreamReceiver.drain()
Requests the remote to drain previously granted credit for thisStreamReceiver
link.boolean
Message.durable()
For an message being sent this method returns the current state of the durable flag on the message.Message.durable
(boolean durable) Controls if the message is marked as durable when sent.default ProtonBuffer
Encodes theAdvancedMessage
for transmission by the client.AdvancedMessage.encode
(Map<String, Object> deliveryAnnotations, ProtonBufferAllocator allocator) Encodes theAdvancedMessage
for transmission by the client.boolean
Message.firstAcquirer()
Message.firstAcquirer
(boolean firstAcquirer) Sets the value to assign to the first acquirer field of thisMessage
.AdvancedMessage.footer()
Return the currentFooter
assigned to this message, if none was assigned yet then this method returnsnull
.Assign or replace theFooter
instance associated with this message.Returns the requested footer value from thisMessage
if it exists or returnsnull
otherwise.Sets the given footer value at the given key, replacing any previous value that was assigned to thisMessage
.Message.forEachAnnotation
(BiConsumer<String, Object> action) Invokes the givenBiConsumer
on each message annotation entry carried in thisMessage
.AdvancedMessage.forEachBodySection
(Consumer<Section<?>> consumer) Performs the given action for each bodySection
of theAdvancedMessage
until all sections have been presented to the givenConsumer
or the consumer throws an exception.Message.forEachFooter
(BiConsumer<String, Object> action) Invokes the givenBiConsumer
on each footer entry carried in thisMessage
.Message.forEachProperty
(BiConsumer<String, Object> action) Invokes the givenBiConsumer
on each application property entry carried in thisMessage
.Message.groupId()
Sets the groupId value to assign to thisMessage
.int
Message.groupSequence()
Message.groupSequence
(int groupSequence) Sets the group sequence value to assign to thisMessage
.boolean
Message.hasAnnotation
(String key) Query theMessage
to determine if it carries the given message annotation key.boolean
Message.hasAnnotations()
Query theMessage
to determine if it carries any message annotations.boolean
Query theMessage
to determine if it carries the given footer key.boolean
Message.hasFooters()
Query theMessage
to determine if it carries any footers.boolean
Message.hasProperties()
Query theMessage
to determine if it carries any application properties.boolean
Message.hasProperty
(String key) Query theMessage
to determine if it carries the given application property key.AdvancedMessage.header()
Return the currentHeader
assigned to this message, if none was assigned yet then this method returnsnull
.Assign or replace theHeader
instance associated with this message.<E> Message<E>
Delivery.message()
StreamDelivery.message()
Decode theStreamDelivery
payload and return anMessage
object.int
AdvancedMessage.messageFormat()
AdvancedMessage.messageFormat
(int messageFormat) Sets the message format to use when the message is sent.int
Delivery.messageFormat()
Gets the message format for the current delivery.int
StreamDelivery.messageFormat()
Gets the message format for the current delivery.StreamSenderMessage.messageFormat
(int messageFormat) Sets the configured message format value that will be set on the first outgoing AMQPTransfer
frame for the delivery that comprises this streamed message.Message.messageId()
Sets the message Id value to assign to thisMessage
.Delivery.modified
(boolean deliveryFailed, boolean undeliverableHere) Modifies and settles the delivery.StreamDelivery.modified
(boolean deliveryFailed, boolean undeliverableHere) Modifies and settles the delivery.Connection.nextReceiver()
Waits indefinitely for a receiver created from the connection default session to have a delivery ready for receipt.Connection.nextReceiver
(long timeout, TimeUnit unit) Waits for the configured time interval for a receiver created from the connection default session to have a delivery ready for receipt.Connection.nextReceiver
(NextReceiverPolicy policy) Waits indefinitely for a receiver created from the connection default session to have a delivery ready for receipt.Connection.nextReceiver
(NextReceiverPolicy policy, long timeout, TimeUnit unit) Waits for the configured time interval for a receiver created from the connection default session to have a delivery ready for receipt.Session.nextReceiver()
Waits indefinitely for a receiver created from this session to have a delivery ready for receipt.Session.nextReceiver
(long timeout, TimeUnit unit) Waits for the given duration for a receiver created from this session to have a delivery ready for receipt.Session.nextReceiver
(NextReceiverPolicy policy) Waits indefinitely for a receiver created from this session to have a delivery ready for receipt.Session.nextReceiver
(NextReceiverPolicy policy, long timeout, TimeUnit unit) Waits for the given duration for a receiver created from this session to have a delivery ready for receipt.String[]
Connection.offeredCapabilities()
Returns the offered capabilities that the remote provided upon successfully opening theConnection
.String[]
Link.offeredCapabilities()
Returns the offered capabilities that the remote provided upon successfully opening theLink
.String[]
Session.offeredCapabilities()
Returns the offered capabilities that the remote provided upon successfully opening theSession
.Connection.openAnonymousSender()
Creates a sender that is established to the 'anonymous relay' and as such each message that is sent using this sender must specify an address in its destination address field.Connection.openAnonymousSender
(SenderOptions senderOptions) Creates a sender that is established to the 'anonymous relay' and as such each message that is sent using this sender must specify an address in its destination address field.Session.openAnonymousSender()
Creates a sender that is established to the 'anonymous relay' and as such each message that is sent using this sender must specify an address in its destination address field.Session.openAnonymousSender
(SenderOptions senderOptions) Creates a sender that is established to the 'anonymous relay' and as such each message that is sent using this sender must specify an address in its destination address field.Connection.openDurableReceiver
(String address, String subscriptionName) Creates a receiver used to consume messages from the given node address and configure it such that the remote create a durable node.Connection.openDurableReceiver
(String address, String subscriptionName, ReceiverOptions receiverOptions) Creates a receiver used to consume messages from the given node address and configure it such that the remote create a durable node.Session.openDurableReceiver
(String address, String subscriptionName) Creates a receiver used to consume messages from the given node address and configure it such that the remote create a durable node.Session.openDurableReceiver
(String address, String subscriptionName, ReceiverOptions receiverOptions) Creates a receiver used to consume messages from the given node address and configure it such that the remote create a durable node.Connection.openDynamicReceiver()
Creates a dynamic receiver used to consume messages from the given node address.Connection.openDynamicReceiver
(Map<String, Object> dynamicNodeProperties) Creates a dynamic receiver used to consume messages from a dynamically generated node on the remote..Connection.openDynamicReceiver
(Map<String, Object> dynamicNodeProperties, ReceiverOptions receiverOptions) Creates a dynamic receiver used to consume messages from the given node address.Connection.openDynamicReceiver
(ReceiverOptions receiverOptions) Creates a dynamic receiver used to consume messages from a dynamically generated node on the remote..Session.openDynamicReceiver()
Creates a dynamic receiver used to consume messages from the given node address.Session.openDynamicReceiver
(Map<String, Object> dynamicNodeProperties) Creates a dynamic receiver used to consume messages from the given node address.Session.openDynamicReceiver
(Map<String, Object> dynamicNodeProperties, ReceiverOptions receiverOptions) Creates a dynamic receiver used to consume messages from the given node address.Session.openDynamicReceiver
(ReceiverOptions receiverOptions) Creates a dynamic receiver used to consume messages from the given node address.Connection.openReceiver
(String address) Creates a receiver used to consumer messages from the given node address.Connection.openReceiver
(String address, ReceiverOptions receiverOptions) Creates a receiver used to consumer messages from the given node address.Session.openReceiver
(String address) Creates a receiver used to consume messages from the given node address.Session.openReceiver
(String address, ReceiverOptions receiverOptions) Creates a receiver used to consume messages from the given node address.Connection.openSender
(String address) Creates a sender used to send messages to the given node address.Connection.openSender
(String address, SenderOptions senderOptions) Creates a sender used to send messages to the given node address.Session.openSender
(String address) Creates a sender used to send messages to the given node address.Session.openSender
(String address, SenderOptions senderOptions) Creates a sender used to send messages to the given node address.Connection.openSession()
Creates a newSession
instance for use by the client application.Connection.openSession
(SessionOptions options) Creates a newSession
instance for use by the client application.Connection.openStreamReceiver
(String address) Creates a streaming message receiver used to consume large messages from the given node address.Connection.openStreamReceiver
(String address, StreamReceiverOptions receiverOptions) Creates a streaming message receiver used to consume large messages from the given node address.Connection.openStreamSender
(String address) Creates a stream sender used to send large messages to the given node address.Connection.openStreamSender
(String address, StreamSenderOptions senderOptions) Creates a streaming sender used to send large messages to the given node address.byte
Message.priority()
Message.priority
(byte priority) Sets the relative message priority.AdvancedMessage.properties()
Return the currentProperties
assigned to this message, if none was assigned yet then this method returnsnull
.AdvancedMessage.properties
(Properties properties) Assign or replace theProperties
instance associated with this message.Connection.properties()
Returns the properties that the remote provided upon successfully opening theConnection
.Link.properties()
Returns the properties that the remote provided upon successfully opening theLink
.Session.properties()
Returns the properties that the remote provided upon successfully opening theSession
.Returns the requested application property value from thisMessage
if it exists or returns null otherwise.Sets the given application property value at the given key, replacing any previous value that was assigned to thisMessage
.long
Receiver.queuedDeliveries()
Returns the number of Deliveries that are currently held in theReceiver
delivery queue.long
StreamReceiver.queuedDeliveries()
Returns the number of Deliveries that are currently held in theReceiver
delivery queue.Delivery.rawInputStream()
Create and return anInputStream
that reads the raw payload bytes of the givenDelivery
.StreamDelivery.rawInputStream()
Create and return anInputStream
that reads the raw payload bytes of the givenStreamDelivery
.StreamSenderMessage.rawOutputStream()
Creates anOutputStream
instance that writes the bytes given without additional encoding or transformation.Receiver.receive()
Blocking receive method that waits forever for the remote to provide aDelivery
for consumption.Blocking receive method that waits the given time interval for the remote to provide aDelivery
for consumption.StreamReceiver.receive()
Blocking receive method that waits forever for the remote to provide aStreamReceiverMessage
for consumption.Blocking receive method that waits the given time interval for the remote to provide aStreamReceiverMessage
for consumption.Rejects and settles the delivery, sending supplied error information along with the rejection.Rejects and settles the delivery, sending supplied error information along with the rejection.Delivery.release()
Releases and settles the delivery.StreamDelivery.release()
Releases and settles the delivery.boolean
Delivery.remoteSettled()
Gets whether the delivery was settled by the remote peer yet.boolean
StreamDelivery.remoteSettled()
Gets whether the delivery was settled by the remote peer yet.Delivery.remoteState()
Gets the current remote state for the delivery.StreamDelivery.remoteState()
Gets the current remote state for the delivery.Message.removeAnnotation
(String key) Removes the given message annotation from the values carried in the message currently, if none was present than this method returnsnull
.Message.removeFooter
(String key) Removes the given footer from the values carried in the message currently, if none was present than this method returnsnull
.Message.removeProperty
(String key) Removes the given application property from the values carried in the message currently, if none was present than this method returnsnull
.Message.replyTo()
Sets the replyTo value to assign to thisMessage
.Message.replyToGroupId()
Message.replyToGroupId
(String replyToGroupId) Sets the replyTo group Id value to assign to thisMessage
.Session.rollbackTransaction()
Roll back the currently active transaction in this Session.Sends the givenMessage
using the internal connection sender.Send the given message immediately if there is credit available or blocks if the link has not yet been granted credit.Send the given message immediately if there is credit available or blocks if the link has not yet been granted credit.Send the given message immediately if there is credit available or blocks if the link has not yet been granted credit or there is a streaming send ongoing.Send the given message immediately if there is credit available or blocks if the link has not yet been granted credit or there is a streaming send ongoing.Delivery.settle()
Settles the delivery locally.StreamDelivery.settle()
Settles the delivery locally.StreamTracker.settle()
Settles the delivery locally, if notauto-settling
.Tracker.settle()
Settles the delivery locally, if notauto-settling
.boolean
Delivery.settled()
boolean
StreamDelivery.settled()
Link.source()
Returns an immutable view of the remoteSource
object assigned to this link.Delivery.state()
Gets the current local state for the delivery.StreamDelivery.state()
Gets the current local state for the delivery.Message.subject()
Sets the subject value to assign to thisMessage
.Link.target()
Returns an immutable view of the remoteTarget
object assigned to this sender link.long
Message.timeToLive()
Message.timeToLive
(long timeToLive) Sets the message time to live value.Message.to()
Sets the 'to' value to assign to thisMessage
.default AdvancedMessage<E>
Message.toAdvancedMessage()
Safely convert thisMessage
instance into anAdvancedMessage
reference which can offer more low level APIs to an experienced client user.Receiver.tryReceive()
Non-blocking receive method that either returns a message is one is immediately available or returns null if none is currently at hand.StreamReceiver.tryReceive()
Non-blocking receive method that either returns a message is one is immediately available or returns null if none is currently at hand.Send the given message if credit is available or returns null if no credit has been granted to the link at the time of the send attempt.Send the given message if credit is available or returns null if no credit has been granted to the link at the time of the send attempt.Send the given message if credit is available or returns null if no credit has been granted to the link at the time of the send attempt or a streaming send is ongoing.Send the given message if credit is available or returns null if no credit has been granted to the link at the time of the send attempt.byte[]
Message.userId()
Message.userId
(byte[] userId) Sets the user Id value to assign to thisMessage
. -
Uses of ClientException in org.apache.qpid.protonj2.client.exceptions
Modifier and TypeClassDescriptionclass
AClientIOException
type that defines that the remote peer has requested that this connection be redirected to some alternative peer.class
Exception thrown when the remote peer actively closes theConnection
by sending and AMQPClose
frame or when the IO layer is disconnected due to some other reason such as a security error or transient network error.class
Connection level Security Exception used to indicate a security violation has occurred.class
Security Exception used to indicate a security violation has occurred.class
Thrown in cases where an action was requested that cannot be performed because the delivery being operated on has been aborted by the remote sender.class
Thrown in cases where an action was requested that cannot be performed because the delivery being operated on is only the partial Transfer payload.class
class
Thrown when the Provider fails a connection due to idle timeout.class
class
Exception type that is thrown when the provider has encountered an unrecoverable error.class
AClientLinkRemotelyClosedException
type that defines that the remote peer has requested that this link be redirected to some alternative peer.class
class
Exception thrown fromMessage
instances when the body section specified violates the configure message format of the message that is being created.class
Indicates that an operation in the provider timed out waiting for completionclass
Root exception type for cases of remote closure or client created resources other than the ClientConnection
which will throw exceptions rooted from theClientConnectionRemotelyClosedException
to indicate a fatal connection level error that requires a new connection to be created.class
Thrown when a message send operation times out in the Provider layer.class
Root exception type for cases of remote closure or client createdSession
.class
Thrown when a transaction declaration fails or is rejected by the remote.class
Thrown when a transaction operation fails and state is now unknown.class
Thrown when a client attempt to commit or roll-back when no transaction has been declared.class
Thrown when a message send operation times out in the Provider layer.class
Thrown when an action request is not supported through this provider. -
Uses of ClientException in org.apache.qpid.protonj2.client.futures
Modifier and TypeMethodDescriptionvoid
AsyncResult.failed
(ClientException result) If the operation fails this method is invoked with the Exception that caused the failure.void
ClientFuture.failed
(ClientException result) void
NoOpAsyncResult.failed
(ClientException result) -
Uses of ClientException in org.apache.qpid.protonj2.client.impl
Modifier and TypeMethodDescriptionClientStreamSender.ClientOutgoingEnvelope.createSendTimedOutException()
Modifier and TypeMethodDescriptionClientStreamSender.ClientOutgoingEnvelope.failed
(ClientException exception) protected final void
ClientLinkType.immediateLinkShutdown
(ClientException failureCause) protected abstract void
ClientLinkType.linkSpecificCleanupHandler
(ClientException failureCause) protected void
ClientReceiverLinkType.linkSpecificCleanupHandler
(ClientException failureCause) protected void
ClientSender.linkSpecificCleanupHandler
(ClientException failureCause) protected void
ClientStreamReceiver.linkSpecificCleanupHandler
(ClientException failureCause) protected void
ClientStreamSender.linkSpecificCleanupHandler
(ClientException failureCause) Modifier and TypeMethodDescriptionlong
ClientStreamReceiverMessage.absoluteExpiryTime()
ClientDeliverable.accept()
ClientReceiver.addCredit
(int credits) ClientStreamReceiver.addCredit
(int credits) ClientLinkType.address()
ClientStreamReceiverMessage.annotation
(String key) ClientDelivery.annotations()
ClientStreamDelivery.annotations()
ClientStreamReceiverMessage.annotations()
ClientStreamReceiverMessage.applicationProperties()
ClientNoOpStreamTracker.awaitAccepted()
ClientNoOpStreamTracker.awaitAccepted
(long timeout, TimeUnit unit) ClientNoOpTracker.awaitAccepted()
ClientNoOpTracker.awaitAccepted
(long timeout, TimeUnit unit) ClientTrackable.awaitAccepted()
ClientTrackable.awaitAccepted
(long timeout, TimeUnit unit) ClientNoOpStreamTracker.awaitSettlement()
ClientNoOpStreamTracker.awaitSettlement
(long timeout, TimeUnit unit) ClientNoOpTracker.awaitSettlement()
ClientNoOpTracker.awaitSettlement
(long timeout, TimeUnit unit) ClientTrackable.awaitSettlement()
ClientTrackable.awaitSettlement
(long timeout, TimeUnit unit) org.apache.qpid.protonj2.client.impl.ClientStreamSenderMessage
ClientStreamSender.beginMessage()
org.apache.qpid.protonj2.client.impl.ClientStreamSenderMessage
ClientStreamSender.beginMessage
(Map<String, Object> deliveryAnnotations) ClientSession.beginTransaction()
ClientStreamReceiverMessage.body()
protected void
ClientConnection.checkClosedOrFailed()
protected void
ClientLinkType.checkClosedOrFailed()
protected void
ClientSession.checkClosedOrFailed()
ClientSession.commitTransaction()
ClientInstance.connect
(String host, int port, ConnectionOptions options) ClientInstance.connect
(String host, ConnectionOptions options) ClientStreamReceiverMessage.contentEncoding()
ClientStreamReceiverMessage.contentType()
static <E> AdvancedMessage<E>
ClientMessageSupport.convertMessage
(Message<E> message) Converts aMessage
instance into aClientMessage
instance either by cast or by construction of a new instance with a copy of the values carried in the given message.ClientStreamReceiverMessage.correlationId()
long
ClientStreamReceiverMessage.creationTime()
static Message<?>
ClientMessageSupport.decodeMessage
(ProtonBuffer buffer, Consumer<DeliveryAnnotations> daConsumer) static Message<?>
ClientMessageSupport.decodeMessage
(Decoder decoder, ProtonBuffer buffer, Consumer<DeliveryAnnotations> daConsumer) static Message<?>
ClientMessageSupport.decodeMessage
(Decoder decoder, DecoderState decoderState, ProtonBuffer buffer, Consumer<DeliveryAnnotations> daConsumer) ClientConnection.defaultSender()
ClientConnection.defaultSession()
long
ClientStreamReceiverMessage.deliveryCount()
String[]
ClientConnection.desiredCapabilities()
String[]
ClientLinkType.desiredCapabilities()
String[]
ClientSession.desiredCapabilities()
ClientDeliverable.disposition
(DeliveryState state, boolean settle) ClientNoOpStreamTracker.disposition
(DeliveryState state, boolean settle) ClientNoOpTracker.disposition
(DeliveryState state, boolean settle) ClientTrackable.disposition
(DeliveryState state, boolean settle) ClientReceiver.drain()
ClientStreamReceiver.drain()
boolean
ClientStreamReceiverMessage.durable()
ClientMessage.encode
(Map<String, Object> deliveryAnnotations, ProtonBufferAllocator allocator) static ProtonBuffer
ClientMessageSupport.encodeMessage
(AdvancedMessage<?> message, Map<String, Object> deliveryAnnotations) static ProtonBuffer
ClientMessageSupport.encodeMessage
(AdvancedMessage<?> message, Map<String, Object> deliveryAnnotations, ProtonBufferAllocator allocator) static ProtonBuffer
ClientMessageSupport.encodeMessage
(Encoder encoder, ProtonBufferAllocator allocator, AdvancedMessage<?> message, Map<String, Object> deliveryAnnotations) static ProtonBuffer
ClientMessageSupport.encodeMessage
(Encoder encoder, EncoderState encoderState, ProtonBufferAllocator allocator, AdvancedMessage<?> message, Map<String, Object> deliveryAnnotations) boolean
ClientStreamReceiverMessage.firstAcquirer()
ClientStreamReceiverMessage.footer()
ClientStreamReceiverMessage.forEachAnnotation
(BiConsumer<String, Object> action) ClientStreamReceiverMessage.forEachFooter
(BiConsumer<String, Object> action) ClientStreamReceiverMessage.forEachProperty
(BiConsumer<String, Object> action) ClientStreamReceiverMessage.groupId()
int
ClientStreamReceiverMessage.groupSequence()
boolean
ClientStreamReceiverMessage.hasAnnotation
(String key) boolean
ClientStreamReceiverMessage.hasAnnotations()
boolean
boolean
ClientStreamReceiverMessage.hasFooters()
boolean
ClientStreamReceiverMessage.hasProperties()
boolean
ClientStreamReceiverMessage.hasProperty
(String key) ClientStreamReceiverMessage.header()
<E> Message<E>
ClientDelivery.message()
ClientStreamDelivery.message()
int
ClientStreamReceiverMessage.messageFormat()
ClientStreamReceiverMessage.messageId()
ClientDeliverable.modified
(boolean deliveryFailed, boolean undeliverableHere) ClientConnection.nextReceiver()
ClientConnection.nextReceiver
(long timeout, TimeUnit unit) ClientConnection.nextReceiver
(NextReceiverPolicy policy) ClientConnection.nextReceiver
(NextReceiverPolicy policy, long timeout, TimeUnit unit) ClientSession.nextReceiver()
ClientSession.nextReceiver
(long timeout, TimeUnit unit) ClientSession.nextReceiver
(NextReceiverPolicy policy) ClientSession.nextReceiver
(NextReceiverPolicy policy, long timeout, TimeUnit unit) String[]
ClientConnection.offeredCapabilities()
String[]
ClientLinkType.offeredCapabilities()
String[]
ClientSession.offeredCapabilities()
ClientConnection.openAnonymousSender()
ClientConnection.openAnonymousSender
(SenderOptions senderOptions) ClientSession.openAnonymousSender()
ClientSession.openAnonymousSender
(SenderOptions senderOptions) ClientStreamSession.openAnonymousSender()
ClientStreamSession.openAnonymousSender
(SenderOptions senderOptions) ClientConnection.openDurableReceiver
(String address, String subscriptionName) ClientConnection.openDurableReceiver
(String address, String subscriptionName, ReceiverOptions receiverOptions) ClientSession.openDurableReceiver
(String address, String subscriptionName) ClientSession.openDurableReceiver
(String address, String subscriptionName, ReceiverOptions receiverOptions) ClientStreamSession.openDurableReceiver
(String address, String subscriptionName) ClientStreamSession.openDurableReceiver
(String address, String subscriptionName, ReceiverOptions receiverOptions) ClientConnection.openDynamicReceiver()
ClientConnection.openDynamicReceiver
(Map<String, Object> dynamicNodeProperties) ClientConnection.openDynamicReceiver
(Map<String, Object> dynamicNodeProperties, ReceiverOptions receiverOptions) ClientConnection.openDynamicReceiver
(ReceiverOptions receiverOptions) ClientSession.openDynamicReceiver()
ClientSession.openDynamicReceiver
(Map<String, Object> dynamicNodeProperties) ClientSession.openDynamicReceiver
(Map<String, Object> dynamicNodeProperties, ReceiverOptions receiverOptions) ClientSession.openDynamicReceiver
(ReceiverOptions receiverOptions) ClientStreamSession.openDynamicReceiver()
ClientStreamSession.openDynamicReceiver
(Map<String, Object> dynamicNodeProperties) ClientStreamSession.openDynamicReceiver
(Map<String, Object> dynamicNodeProperties, ReceiverOptions receiverOptions) ClientStreamSession.openDynamicReceiver
(ReceiverOptions receiverOptions) ClientConnection.openReceiver
(String address) ClientConnection.openReceiver
(String address, ReceiverOptions receiverOptions) ClientSession.openReceiver
(String address) ClientSession.openReceiver
(String address, ReceiverOptions receiverOptions) ClientStreamSession.openReceiver
(String address) ClientStreamSession.openReceiver
(String address, ReceiverOptions receiverOptions) ClientConnection.openSender
(String address) ClientConnection.openSender
(String address, SenderOptions senderOptions) ClientSession.openSender
(String address) ClientSession.openSender
(String address, SenderOptions senderOptions) ClientStreamSession.openSender
(String address) ClientStreamSession.openSender
(String address, SenderOptions senderOptions) ClientConnection.openSession()
ClientConnection.openSession
(SessionOptions sessionOptions) ClientConnection.openStreamReceiver
(String address) ClientConnection.openStreamReceiver
(String address, StreamReceiverOptions receiverOptions) ClientConnection.openStreamSender
(String address) ClientConnection.openStreamSender
(String address, StreamSenderOptions senderOptions) byte
ClientStreamReceiverMessage.priority()
ClientConnection.properties()
ClientLinkType.properties()
ClientSession.properties()
ClientStreamReceiverMessage.properties()
long
ClientStreamReceiver.queuedDeliveries()
ClientDelivery.rawInputStream()
ClientStreamDelivery.rawInputStream()
ClientReceiver.receive()
ClientStreamReceiver.receive()
ClientDeliverable.release()
ClientStreamReceiverMessage.replyTo()
ClientStreamReceiverMessage.replyToGroupId()
ClientSession.rollbackTransaction()
ClientDeliverable.settle()
ClientNoOpStreamTracker.settle()
ClientNoOpTracker.settle()
ClientTrackable.settle()
ClientLinkType.source()
ClientStreamReceiverMessage.subject()
ClientLinkType.target()
long
ClientStreamReceiverMessage.timeToLive()
ClientStreamReceiverMessage.to()
ClientReceiver.tryReceive()
ClientStreamReceiver.tryReceive()
byte[]
ClientStreamReceiverMessage.userId()
protected void
ClientLinkType.waitForOpenToComplete()