Edit

Share via


ILogConsistencyProtocolParticipant.OnProtocolMessageReceived Method

Definition

Called when a message is received from another cluster. This MUST interleave with other calls to avoid deadlocks.

[Orleans.Concurrency.AlwaysInterleave]
public System.Threading.Tasks.Task<Orleans.MultiCluster.ILogConsistencyProtocolMessage> OnProtocolMessageReceived (Orleans.MultiCluster.ILogConsistencyProtocolMessage payload);
[<Orleans.Concurrency.AlwaysInterleave>]
abstract member OnProtocolMessageReceived : Orleans.MultiCluster.ILogConsistencyProtocolMessage -> System.Threading.Tasks.Task<Orleans.MultiCluster.ILogConsistencyProtocolMessage>
Public Function OnProtocolMessageReceived (payload As ILogConsistencyProtocolMessage) As Task(Of ILogConsistencyProtocolMessage)

Parameters

payload
ILogConsistencyProtocolMessage

the protocol message to be delivered

Returns

Attributes

Applies to