Esempio n. 1
0
 public void send_deleteTable(byte[] tableName)
 {
     this.oprot_.WriteMessageBegin(new TMessage("deleteTable", TMessageType.Call, this.seqid_));
     var args = new deleteTable_args();
     args.TableName = tableName;
     args.Write(this.oprot_);
     this.oprot_.WriteMessageEnd();
     this.oprot_.Transport.Flush();
 }
Esempio n. 2
0
 public void deleteTable_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     var args = new deleteTable_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     var result = new deleteTable_result();
     try
     {
         this.iface_.deleteTable(args.TableName);
     }
     catch (IOError io)
     {
         result.Io = io;
     }
     oprot.WriteMessageBegin(new TMessage("deleteTable", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
Esempio n. 3
0
 public void send_deleteTable(byte[] tableName)
 {
     oprot_.WriteMessageBegin(new TMessage("deleteTable", TMessageType.Call, seqid_));
     deleteTable_args args = new deleteTable_args();
     args.tableName = tableName;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }
Esempio n. 4
0
 public void send_deleteTable(byte[] tableName)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("deleteTable", TMessageType.Call, seqid_));
   deleteTable_args args = new deleteTable_args();
   args.TableName = tableName;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Esempio n. 5
0
 public void deleteTable_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     deleteTable_args args = new deleteTable_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     deleteTable_result result = new deleteTable_result();
     try {
       iface_.deleteTable(args.tableName);
     } catch (IOError io) {
       result.io = io;
       result.__isset.io = true;
     } catch (NotFound nf) {
       result.nf = nf;
       result.__isset.nf = true;
     }
     oprot.WriteMessageBegin(new TMessage("deleteTable", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }