Exemple #1
0
 public void get_string_list_property_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     get_string_list_property_args args = new get_string_list_property_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     get_string_list_property_result result = new get_string_list_property_result();
     result.Success = iface_.get_string_list_property(args.Property);
     oprot.WriteMessageBegin(new TMessage("get_string_list_property", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
Exemple #2
0
 public List<string> recv_get_string_list_property()
 {
     TMessage msg = iprot_.ReadMessageBegin();
     if (msg.Type == TMessageType.Exception) {
       TApplicationException x = TApplicationException.Read(iprot_);
       iprot_.ReadMessageEnd();
       throw x;
     }
     get_string_list_property_result result = new get_string_list_property_result();
     result.Read(iprot_);
     iprot_.ReadMessageEnd();
     if (result.__isset.success) {
       return result.Success;
     }
     throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "get_string_list_property failed: unknown result");
 }