public override bool check() { XmlRpcValue chk = new XmlRpcValue(); bool res = client.IsConnected; if (res == false) { Console.WriteLine("DEAD MASTER DETECTED!"); } else { res &= client.ExecuteCheckDone(chk); } if (client.ExecuteCheckDone(chk)) { return(true); } return(false); }
public override bool check() { if (parent == null) { return(false); } if (client.ExecuteCheckDone(chk)) { parent.pendingConnectionDone(this, chk); return(true); } return(false); }
public bool ExecuteCheckDone(XmlRpcValue result) { lock (client_lock) return(client.ExecuteCheckDone(result)); }