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