public void invokeTest_Process(int seqid, TProtocol iprot, TProtocol oprot) { invokeTest_args args = new invokeTest_args(); args.Read(iprot); iprot.ReadMessageEnd(); invokeTest_result result = new invokeTest_result(); result.Success = iface_.invokeTest(); oprot.WriteMessageBegin(new TMessage("invokeTest", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public string recv_invokeTest() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } invokeTest_result result = new invokeTest_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return(result.Success); } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "invokeTest failed: unknown result"); }
public string recv_invokeTest() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } invokeTest_result result = new invokeTest_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return result.Success; } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "invokeTest failed: unknown result"); }
public void invokeTest_Process(int seqid, TProtocol iprot, TProtocol oprot) { invokeTest_args args = new invokeTest_args(); args.Read(iprot); iprot.ReadMessageEnd(); invokeTest_result result = new invokeTest_result(); result.Success = iface_.invokeTest(); oprot.WriteMessageBegin(new TMessage("invokeTest", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }