Abort the current delivery.
{@inheritDoc}
indicates pending deliveries
Sends some data for the current delivery. The application may call this method multiple times for the same delivery.
Sends some data for the current delivery. The application may call this method multiple times for the same delivery.
Sends data to the current delivery attempting not to copy the data unless a previous send has already added data to the Delivery in which case a copy may occur depending on the implementation. <p> Care should be taken when passing ReadableBuffer instances that wrapped pooled bytes as the send does not mean the data will be sent immediately when the transport is flushed so the pooled bytes could be held for longer than expected.
Returns the name of the link
Create a delivery object based on the specified tag and adds it to the this link's delivery list and its connection work list.
Create a delivery object based on the specified tag. This form of the method is intended to allow the tag to be formed from a subsequence of the byte array passed in. This might allow more optimisation options in future but at present is not implemented.
Returns the head delivery on the link.
Returns the current delivery
Attempts to advance the current delivery. Advances it to the next delivery if one exists, else null.
Sets the source for this link.
Expected to be used in a similar manner to {@link #setSource(Source)}
@see #setSource(Source)
@see #setTarget(Target)
Gets the credit balance for a link.
Gets the number of queued messages for a link.
Sets the sender settle mode.
@see #setSenderSettleMode(SenderSettleMode)
Sets the receiver settle mode.
@see #setReceiverSettleMode(ReceiverSettleMode)
TODO should this be part of the interface?
Gets the local link properties.
Sets the local link properties, to be conveyed to the peer via the Attach frame when attaching the link to the session.
Gets the remote link properties, as conveyed from the peer via the Attach frame when attaching the link to the session.
Returns a [locally generated] view of credit at the remote peer by considering the current link {@link #getCredit() credit} count as well as the effect of any locally {@link #getQueued() queued} messages.
Sets the local link offered capabilities, to be conveyed to the peer via the Attach frame when attaching the link to the session.
Gets the local link offered capabilities.
Gets the remote link offered capabilities, as conveyed from the peer via the Attach frame when attaching the link to the session.
Sets the local link desired capabilities, to be conveyed to the peer via the Attach frame when attaching the link to the session.
Gets the local link desired capabilities.
Gets the remote link desired capabilities, as conveyed from the peer via the Attach frame when attaching the link to the session.
Sets the local link max message size, to be conveyed to the peer via the Attach frame when attaching the link to the session. Null or 0 means no limit.
Gets the local link max message size.
Gets the remote link max message size, as conveyed from the peer via the Attach frame when attaching the link to the session.
Sender