Пример #1
0
 public void send_getSchema()
 {
     oprot_.WriteMessageBegin(new TMessage("getSchema", TMessageType.Call, seqid_));
     getSchema_args args = new getSchema_args();
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }
Пример #2
0
 public void getSchema_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     getSchema_args args = new getSchema_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     getSchema_result result = new getSchema_result();
     try
     {
         result.Success = iface_.getSchema();
     }
     catch (HiveServerException ex)
     {
         result.Ex = ex;
     }
     oprot.WriteMessageBegin(new TMessage("getSchema", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }