Ejemplo n.º 1
0
 public void Add(SocketContainer argContainer)
 {
     Messages.Enqueue(argContainer);
     MessageQueued?.Invoke();
 }
        private void Handle(MessageQueued <DebitAccount> wrapper)
        {
            Deliver(this.bankerPath, deliveryId => new Guaranteed <DebitAccount>(deliveryId, wrapper.Message));

            this.logger.PrintMessage($"Delivering DebitAccount, cmdid: {wrapper.Message.CommandId}");
        }
Ejemplo n.º 3
0
 public void Add(AsyncSendState argState)
 {
     Messages.Enqueue(argState);
     MessageQueued?.Invoke();
 }