Exemple #1
0
 static void SetUp(ServiceBusSettings serviceBusSettings)
 {
     if (Instance == null)
     {
         lock (syncRoot) {
             if (Instance == null)
             {
                 Instance = new InterRoleCommunicator(serviceBusSettings);
             }
         }
     }
 }
Exemple #2
0
        public static void SendMessage(MessageOperation operation, Guid workSessionID, string documentID)
        {
            var message = CreateMessage(operation, workSessionID, documentID);

            InterRoleCommunicator.SendMessage(message);
        }
Exemple #3
0
        public static void SendMessage(MessageOperation operation, List <WorkSessionServerInfo> registeredServers)
        {
            var message = CreateMessage(operation, registeredServers);

            InterRoleCommunicator.SendMessage(message);
        }