public Bool_GetNodeClassInformation recv_GetNodeClassInformation() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } GetNodeClassInformation_result result = new GetNodeClassInformation_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return result.Success; } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "GetNodeClassInformation failed: unknown result"); }
public void GetNodeClassInformation_Process(int seqid, TProtocol iprot, TProtocol oprot) { GetNodeClassInformation_args args = new GetNodeClassInformation_args(); args.Read(iprot); iprot.ReadMessageEnd(); GetNodeClassInformation_result result = new GetNodeClassInformation_result(); result.Success = iface_.GetNodeClassInformation(args._homeId, args._nodeId, args._commandClassId); oprot.WriteMessageBegin(new TMessage("GetNodeClassInformation", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }