Interface IRumorSender
Represents broadcast command.
Inherited Members
Namespace: DotNext.Net.Cluster.Messaging.Gossip
Assembly: DotNext.Net.Cluster.dll
Syntax
public interface IRumorSender : IAsyncDisposable
Methods
| Edit this page View SourceSendAsync(EndPoint, CancellationToken)
Sends custom message to the specified peer from the active view.
Declaration
Task SendAsync(EndPoint peer, CancellationToken token)
Parameters
Type | Name | Description |
---|---|---|
EndPoint | peer | The peer from active view. |
CancellationToken | token | The token that can be used to cancel the operation. |
Returns
Type | Description |
---|---|
Task | The task representing asynchronous result. |