Proton DotNet
|
A single AMQP delivery tracker instance. More...
Public Member Functions | |
ITracker | Settle () |
Settles the sent delivery if not performing auto-settlement on the sender. | |
Task< ITracker > | SettleAsync () |
Settles the sent delivery if not performing auto-settlement on the sender and returns a Task that will be completed once any IO operations required by the settlement have completed. | |
ITracker | Disposition (IDeliveryState state, bool settle) |
Apply the delivery state and optionally settle the sent delivery with the remote. | |
Task< ITracker > | DispositionAsync (IDeliveryState state, bool settle) |
Apply the delivery state and optionally settle the sent delivery with the remote. The method returns a Task that will be completed once any required IO operations in order to apply the disposition have been completed. | |
ITracker | AwaitSettlement () |
Waits for the remote to settle the sent delivery unless the delivery was already settled by the remote or the delivery was sent already settled. | |
ITracker | AwaitSettlement (TimeSpan timeout) |
Waits for the remote to settle the sent delivery unless the delivery was already settled by the remote or the delivery was sent already settled. | |
ITracker | AwaitAccepted () |
Waits for the remote to accept and settle the sent delivery unless the delivery was already settled by the remote or the delivery was sent already settled. | |
ITracker | AwaitAccepted (TimeSpan timeout) |
Waits for the remote to accept and settle the sent delivery unless the delivery was already settled by the remote or the delivery was sent already settled. | |
Properties | |
ISender | Sender [get] |
Returns the parent sender instance that sent the delivery that is now being tacked. | |
bool | Settled [get] |
Indicates if the sent delivery has already been locally settled. | |
IDeliveryState | State [get] |
Retrieve the currently applied delivery state for the sent delivery. | |
bool | RemoteSettled [get] |
Indicates if the sent delivery has already been remotely settled. | |
IDeliveryState | RemoteState [get] |
Retrieve the currently applied delivery state by the remote for the sent delivery. | |
Task< ITracker > | SettlementTask [get] |
Gets a task that will be completed once the remote has settled the sent delivery, or will indicate an error if the connection fails before the remote can settle. If the sender sent the tracked delivery settled the task returned will already be completed. | |
A single AMQP delivery tracker instance.
ITracker Apache.Qpid.Proton.Client.ITracker.AwaitAccepted | ( | ) |
Waits for the remote to accept and settle the sent delivery unless the delivery was already settled by the remote or the delivery was sent already settled.
If the remote send back a delivery state other than accepted then this method will throw an ClientDeliveryStateException to indicate the expected outcome was not achieved.
Implemented in Apache.Qpid.Proton.Client.Implementation.ClientNoOpTracker, and Apache.Qpid.Proton.Client.Implementation.ClientTracker.
ITracker Apache.Qpid.Proton.Client.ITracker.AwaitAccepted | ( | TimeSpan | timeout | ) |
Waits for the remote to accept and settle the sent delivery unless the delivery was already settled by the remote or the delivery was sent already settled.
If the remote send back a delivery state other than accepted then this method will throw an ClientDeliveryStateException to indicate the expected outcome was not achieved.
timeout | The duration to wait for the remote to accept the delivery |
Implemented in Apache.Qpid.Proton.Client.Implementation.ClientNoOpTracker, and Apache.Qpid.Proton.Client.Implementation.ClientTracker.
ITracker Apache.Qpid.Proton.Client.ITracker.AwaitSettlement | ( | ) |
Waits for the remote to settle the sent delivery unless the delivery was already settled by the remote or the delivery was sent already settled.
Implemented in Apache.Qpid.Proton.Client.Implementation.ClientNoOpTracker, and Apache.Qpid.Proton.Client.Implementation.ClientTracker.
ITracker Apache.Qpid.Proton.Client.ITracker.AwaitSettlement | ( | TimeSpan | timeout | ) |
Waits for the remote to settle the sent delivery unless the delivery was already settled by the remote or the delivery was sent already settled.
timeout | The duration to wait for the remote to settle the delivery |
Implemented in Apache.Qpid.Proton.Client.Implementation.ClientNoOpTracker, and Apache.Qpid.Proton.Client.Implementation.ClientTracker.
ITracker Apache.Qpid.Proton.Client.ITracker.Disposition | ( | IDeliveryState | state, |
bool | settle | ||
) |
Apply the delivery state and optionally settle the sent delivery with the remote.
state | The delivery state to apply to the sent delivery |
settle | Optionally settle the delivery that was sent |
Implemented in Apache.Qpid.Proton.Client.Implementation.ClientNoOpTracker, and Apache.Qpid.Proton.Client.Implementation.ClientTracker.
Task< ITracker > Apache.Qpid.Proton.Client.ITracker.DispositionAsync | ( | IDeliveryState | state, |
bool | settle | ||
) |
Apply the delivery state and optionally settle the sent delivery with the remote. The method returns a Task that will be completed once any required IO operations in order to apply the disposition have been completed.
state | The delivery state to apply to the sent delivery |
settle | Optionally settle the delivery that was sent |
Implemented in Apache.Qpid.Proton.Client.Implementation.ClientNoOpTracker, and Apache.Qpid.Proton.Client.Implementation.ClientTracker.
ITracker Apache.Qpid.Proton.Client.ITracker.Settle | ( | ) |
Settles the sent delivery if not performing auto-settlement on the sender.
Implemented in Apache.Qpid.Proton.Client.Implementation.ClientNoOpTracker, and Apache.Qpid.Proton.Client.Implementation.ClientTracker.
Task< ITracker > Apache.Qpid.Proton.Client.ITracker.SettleAsync | ( | ) |
Settles the sent delivery if not performing auto-settlement on the sender and returns a Task that will be completed once any IO operations required by the settlement have completed.
Implemented in Apache.Qpid.Proton.Client.Implementation.ClientNoOpTracker, and Apache.Qpid.Proton.Client.Implementation.ClientTracker.
|
get |
Indicates if the sent delivery has already been remotely settled.
Implemented in Apache.Qpid.Proton.Client.Implementation.ClientNoOpTracker, and Apache.Qpid.Proton.Client.Implementation.ClientTracker.
|
get |
Retrieve the currently applied delivery state by the remote for the sent delivery.
Implemented in Apache.Qpid.Proton.Client.Implementation.ClientNoOpTracker, and Apache.Qpid.Proton.Client.Implementation.ClientTracker.
|
get |
Returns the parent sender instance that sent the delivery that is now being tacked.
Implemented in Apache.Qpid.Proton.Client.Implementation.ClientNoOpTracker, and Apache.Qpid.Proton.Client.Implementation.ClientTracker.
|
get |
Indicates if the sent delivery has already been locally settled.
Implemented in Apache.Qpid.Proton.Client.Implementation.ClientNoOpTracker, and Apache.Qpid.Proton.Client.Implementation.ClientTracker.
|
get |
Gets a task that will be completed once the remote has settled the sent delivery, or will indicate an error if the connection fails before the remote can settle. If the sender sent the tracked delivery settled the task returned will already be completed.
Implemented in Apache.Qpid.Proton.Client.Implementation.ClientNoOpTracker, and Apache.Qpid.Proton.Client.Implementation.ClientTracker.
|
get |
Retrieve the currently applied delivery state for the sent delivery.
Implemented in Apache.Qpid.Proton.Client.Implementation.ClientNoOpTracker, and Apache.Qpid.Proton.Client.Implementation.ClientTracker.