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