Esempio n. 1
0
 static VirtualRoot()
 {
     Id                 = NTMinerRegistry.GetClientId();
     JsonSerializer     = new ObjectJsonSerializer();
     SMessageDispatcher = new MessageDispatcher();
     SCommandBus        = new DirectCommandBus(SMessageDispatcher);
     SEventBus          = new DirectEventBus(SMessageDispatcher);
 }
Esempio n. 2
0
 static VirtualRoot()
 {
     Id                 = NTMinerRegistry.GetClientId();
     LocalIpSet         = new LocalIpSet();
     JsonSerializer     = new ObjectJsonSerializer();
     SMessageDispatcher = new MessageDispatcher();
     SCommandBus        = new DirectCommandBus(SMessageDispatcher);
     SEventBus          = new DirectEventBus(SMessageDispatcher);
     LocalMessages      = new LocalMessageSet(LocalDbFileFullName);
 }
Esempio n. 3
0
 static VirtualRoot()
 {
     Id = NTMinerRegistry.GetClientId();
     if (!Directory.Exists(GlobalDirFullName))
     {
         Directory.CreateDirectory(GlobalDirFullName);
     }
     JsonSerializer     = new ObjectJsonSerializer();
     SMessageDispatcher = new MessageDispatcher();
     SCommandBus        = new DirectCommandBus(SMessageDispatcher);
     SEventBus          = new DirectEventBus(SMessageDispatcher);
 }
Esempio n. 4
0
 static VirtualRoot()
 {
     MessageDispatcher = new MessageDispatcher();
     _commandBus       = new DirectCommandBus(MessageDispatcher);
     _eventBus         = new DirectEventBus(MessageDispatcher);
 }
Esempio n. 5
0
 static VirtualRoot()
 {
     SMessageDispatcher = new MessageDispatcher();
     SCommandBus        = new DirectCommandBus(SMessageDispatcher);
     SEventBus          = new DirectEventBus(SMessageDispatcher);
 }