Home  > 

Class sender

A channel for sending messages. A sender contains an ordered sequence of deliveries.

Basic properties and methods

PropertySummaryTypeDefault valueMutableNullable
client The client holding this endpoint objectclientinstance
session The containing sessionsessioninstance
source The source end of the linksourceinstance
target The target end of the linktargetinstance
MethodSummaryInputsOutputs
wait Block until the remote peer confirms the open operation[timeout]endpoint
(async) wait Wait until the remote peer confirms the open operationtask of endpoint

Endpoint lifecycle

PropertySummaryTypeDefault valueMutableNullable
state The remote endpoint stateendpoint-statediscovered
error The remote endpoint error conditionerror-conditiondiscovered
detached True if the link was detached, not permanently closedbooleandiscovered
MethodSummaryInputsOutputs
close Start closing the endpoint[error-condition]future of endpoint
(async) close Start closing the endpoint[error-condition]task of endpoint
detach Detach the link without permanently closing it[error-condition]future of link
(async) detach Detach the link without permanently closing it[error-condition]task of link

Extended attributes

PropertySummaryTypeDefault valueMutableNullable
properties Application-defined propertiesmap of symbolobjectdiscovered
offered-capabilities Extensions the endpoint supportsarray of symboldiscovered
desired-capabilities Extensions the endpoint can usearray of symboldiscovered

Reliability

PropertySummaryTypeDefault valueMutableNullable
delivery-mode The message delivery guaranteedelivery-modediscovered

Resource limits

PropertySummaryTypeDefault valueMutableNullable
max-message-size The maximum message sizeulongdiscovered

Message operations

MethodSummaryInputsOutputs
send Send a message on the linkmessage, [timeout]tracker
try-send Send a message on the link or return null if there is no creditmessagetracker
(async) send Send a message on the linkmessagetask of tracker