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