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