public bool recv_IsNodeAwake() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } IsNodeAwake_result result = new IsNodeAwake_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return result.Success; } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "IsNodeAwake failed: unknown result"); }
public void IsNodeAwake_Process(int seqid, TProtocol iprot, TProtocol oprot) { IsNodeAwake_args args = new IsNodeAwake_args(); args.Read(iprot); iprot.ReadMessageEnd(); IsNodeAwake_result result = new IsNodeAwake_result(); result.Success = iface_.IsNodeAwake(args._homeId, args._nodeId); oprot.WriteMessageBegin(new TMessage("IsNodeAwake", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }