예제 #1
0
        public void Send(ILetter letter)
        {
            Queuing?.Invoke(letter, new QueuingEventArgs {
                Socket = this
            });

            _letterDispatcher.EnqueueLetter(letter);
        }
예제 #2
0
 public XElement Serialize() => Elem("Times",
                                     Attr("creation", Creation.ToString("O")),
                                     Attr("queuing", Queuing.ToString("O")),
                                     Attr("start", Start.ToString("O")),
                                     Attr("finish", Finish.ToString("O"))
                                     );