Partilhar via


ILogConsistencyProtocolParticipant.OnProtocolMessageReceived Método

Definição

Chamado quando uma mensagem é recebida de outro cluster. Isso DEVE intercalar com outras chamadas para evitar 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)

Parâmetros

payload
ILogConsistencyProtocolMessage

a mensagem de protocolo a ser entregue

Retornos

Atributos

Aplica-se a