public void blahBlah_Process(int seqid, TProtocol iprot, TProtocol oprot) { blahBlah_args args = new blahBlah_args(); args.Read(iprot); iprot.ReadMessageEnd(); blahBlah_result result = new blahBlah_result(); iface_.blahBlah(); oprot.WriteMessageBegin(new TMessage("blahBlah", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void recv_blahBlah() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } blahBlah_result result = new blahBlah_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); return; }