// START UP /////////////////////////
        protected PurpleNetworkServerSanityTester()
        {
            formerIP = Network.connectionTesterIP;
            formerPort = Network.connectionTesterPort;

            testDone = true;
            testResult = ConnectionTesterStatus.Undetermined;

            currentServerReference = null;
            pingObject = new pingData ();
        }
 public bool Remove(ServerReference reference)
 {
     return serverList.Remove (reference);
 }
 public bool Add(ServerReference reference)
 {
     serverList.Add (reference);
     return true;
 }
 // ADVANCED FUNCTIONS /////////////////////////
 private ConnectionTesterStatus run_test(ServerReference reference)
 {
     if(testDone)
     {
         currentServerReference = reference;
     }
     return run_test (currentServerReference.ServerHost, currentServerReference.ServerPort, currentServerReference.TesterTimeout);
 }
 public static string Run(ServerReference reference)
 {
     return Instance.run_test (reference).ToString();
 }