/// <summary> /// NodePing /// </summary> /// <returns></returns> public string NodePing(out string pingDetail) { NodePing ping = new NodePing(); ping.hello = string.Empty; NodePingResponse pingResp = _requestor.NodePing(ping); pingDetail = pingResp.statusDetail ?? string.Empty; return(pingResp.nodeStatus.ToString()); }
public void OnNodePing(NodePing ping) { PacketDecodeCompletedEventArgs e = RouteCenter.CurrentContext.GetToken <PacketDecodeCompletedEventArgs>(); mNodeManager.Ping(ping, e.Session); }