Attempts to advance the current delivery. Advances it to the next delivery if one exists, else null.
Returns the current delivery
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.
Gets the credit balance for a link.
Gets the local link desired capabilities.
Gets the local link max message size.
Returns the name of the link
Gets the local link offered capabilities.
Gets the local link properties.
Gets the number of queued messages for a link.
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.
Gets the remote link desired capabilities, as conveyed from the peer via the Attach frame when attaching the link to the session.
Gets the remote link max message size, as conveyed from the peer via the Attach frame when attaching the link to the session.
Gets the remote link offered capabilities, as conveyed from 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.
@see #setReceiverSettleMode(ReceiverSettleMode)
@see #setSenderSettleMode(SenderSettleMode)
@see #setSource(Source)
@see #setTarget(Target)
Returns the head delivery on the link.
Sets the local link desired capabilities, to be conveyed to 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.
Sets the local link offered capabilities, to be conveyed to the peer via the Attach frame when attaching the link to the session.
Sets the local link properties, to be conveyed to the peer via the Attach frame when attaching the link to the session.
Sets the receiver settle mode.
TODO should this be part of the interface?
Sets the sender settle mode.
Sets the source for this link.
Expected to be used in a similar manner to {@link #setSource(Source)}
@return the local endpoint state
@return the remote endpoint state (as last communicated)
@return the local endpoint error, or null if there is none
Set the local error condition @param condition
@return the remote endpoint error, or null if there is none
free the endpoint and any associated resources
transition local state to ACTIVE
transition local state to CLOSED
Sets an arbitrary an application owned object on the end-point. This object is not used by Proton.
@see #setContext(Object)
Link
The settlement mode defaults are:
Sender settle mode - {@link SenderSettleMode#MIXED}. Receiver settle mode - {@link ReceiverSettleMode#FIRST}
TODO describe the application's responsibility to honour settlement.