예제 #1
0
 public static void RemovePendingMessage(this ClientSession session, PendingMessage pending)
 {
     lock ( _pendingMessagesLock )
     {
         session.PendingMessages.Remove(pending);
     }
 }
예제 #2
0
 public static void AddPendingMessage(this ClientSession session, PendingMessage pending)
 {
     lock ( _pendingMessagesLock )
     {
         session.PendingMessages.Add(pending);
     }
 }