public void recv_blockContact() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } blockContact_result result = new blockContact_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.e) { throw result.E; } return; }
public void blockContact_Process(int seqid, TProtocol iprot, TProtocol oprot) { blockContact_args args = new blockContact_args(); args.Read(iprot); iprot.ReadMessageEnd(); blockContact_result result = new blockContact_result(); try { iface_.blockContact(args.ReqSeq, args.Id); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("blockContact", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }