Exemplo n.º 1
0
        public Task <RpcCallResult <Unit> > NotifyAsync(OpenBond.WorkerNotificationArgs message, IList <long> semiStableHashes)
        {
            var grpcMessage = message.ToGrpc();

            return(m_connectionManager.CallAsync(
                       (callOptions) => m_client.NotifyAsync(grpcMessage, options: callOptions),
                       DistributionHelpers.GetNotifyDescription(message, semiStableHashes)));
        }
Exemplo n.º 2
0
        public Task <RpcCallResult <Unit> > NotifyAsync(OpenBond.WorkerNotificationArgs message, IList <long> semiStableHashes)
        {
            var grpcMessage = message.ToGrpc(m_senderInfo);

            return(m_connectionManager.CallAsync(
                       (callOptions) => m_client.NotifyAsync(grpcMessage, options: callOptions),
                       "Notify"));
        }