コード例 #1
0
 static void SetUp(ServiceBusSettings serviceBusSettings)
 {
     if (Instance == null)
     {
         lock (syncRoot) {
             if (Instance == null)
             {
                 Instance = new InterRoleCommunicator(serviceBusSettings);
             }
         }
     }
 }
コード例 #2
0
 InterRoleCommunicator(ServiceBusSettings serviceBusSettings)
 {
     ServiceBusSettings = serviceBusSettings;
     Subscribe();
 }
コード例 #3
0
 public ServiceBusSubscriber(ServiceBusSettings serviceBusSettings)
     : base(serviceBusSettings)
 {
     CreateServiceHost();
 }
コード例 #4
0
 public ServiceBusPublisher(ServiceBusSettings serviceBusSettings) : base(serviceBusSettings)
 {
     CreateChannel();
 }
コード例 #5
0
 public ServiceBusBase(ServiceBusSettings serviceBusSettings)
 {
     this.serviceBusSettings = serviceBusSettings;
 }