Example #1
0
 public List<ida_string> recv_listStrings()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   listStrings_result result = new listStrings_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.success) {
     return result.Success;
   }
   throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "listStrings failed: unknown result");
 }
Example #2
0
 public void listStrings_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   listStrings_args args = new listStrings_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   listStrings_result result = new listStrings_result();
   result.Success = iface_.listStrings();
   oprot.WriteMessageBegin(new TMessage("listStrings", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }