Пример #1
0
 public ServerContent CheckSecondaryServer()
 {
     if (MposFramework.Instance.DeviceController.IsOnline() && SecondaryServer.IsReady())
     {
         return(SecondaryServer);
     }
     return(null);
 }
Пример #2
0
 public void ProcessingLoop()
 {
     PrimaryServer?.StartOperating();
     SecondaryServer?.StartOperating();
     TertiaryServer?.StartOperating();
     // LOGIC
     // super server switching
     // super się przełączam miedzy serwerami hah ha ha hi hi
 }
Пример #3
0
 private void DiscoveryServiceSecondary()
 {
     if (discoveryInternetServer == null)
     {
         SecondaryServer.Clean();
         discoveryInternetServer = new DiscoveryService(SecondaryServer);
         discoveryInternetServer.Start();
     }
 }