Timothy A. Bish created PROTON-2549:
---------------------------------------
Summary: [dotnet] Add a next receiver API to the connection and
session
Key: PROTON-2549
URL: https://issues.apache.org/jira/browse/PROTON-2549
Project: Qpid Proton
Issue Type: New Feature
Components: proton-dotnet
Affects Versions: proton-dotnet-1.0.0-M1
Reporter: Timothy A. Bish
Assignee: Timothy A. Bish
Fix For: proton-dotnet-1.0.0-M1
Add a new API to Connection and Session that allows a caller to poll for the
next receiver in a session that has a pending delivery or wait on one to arrive.
Basic code example:
{code:java}
using (IConnection connection = client.Connect(serverHost, serverPort,
options)) {
_ = connection.OpenReceiver(address1);
_ = connection.OpenReceiver(address2);
IDelivery delivery = connection.NextReceiver().Receive();
...
}{code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]