Example #1
0
 public void AddMessage(Message m)
 {
     inbox.Add(m);
 }
Example #2
0
 public void AddMessage(Message m)
 {
     outbox.Add(m);
 }
Example #3
0
 public void ReceiveMessage(Message m)
 {
     inbox.Add(m);
 }
Example #4
0
 public void ReceiveMessage(Message m)
 {
     if (m.GetSender().Equals(this))
     {
         return;
     }
     inbox.Add(m);
 }