Example #1
0
 public void send_scannerOpenWithStop(byte[] tableName, byte[] startRow, byte[] stopRow, List<byte[]> columns)
 {
     this.oprot_.WriteMessageBegin(new TMessage("scannerOpenWithStop", TMessageType.Call, this.seqid_));
     var args = new scannerOpenWithStop_args();
     args.TableName = tableName;
     args.StartRow = startRow;
     args.StopRow = stopRow;
     args.Columns = columns;
     args.Write(this.oprot_);
     this.oprot_.WriteMessageEnd();
     this.oprot_.Transport.Flush();
 }
Example #2
0
 public void send_scannerOpenWithStop(byte[] tableName, byte[] startRow, byte[] stopRow, List<byte[]> columns, Dictionary<byte[], byte[]> attributes)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("scannerOpenWithStop", TMessageType.Call, seqid_));
   scannerOpenWithStop_args args = new scannerOpenWithStop_args();
   args.TableName = tableName;
   args.StartRow = startRow;
   args.StopRow = stopRow;
   args.Columns = columns;
   args.Attributes = attributes;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Example #3
0
 public void scannerOpenWithStop_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     var args = new scannerOpenWithStop_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     var result = new scannerOpenWithStop_result();
     try
     {
         result.Success = this.iface_.scannerOpenWithStop(args.TableName, args.StartRow, args.StopRow,
                                                          args.Columns);
     }
     catch (IOError io)
     {
         result.Io = io;
     }
     oprot.WriteMessageBegin(new TMessage("scannerOpenWithStop", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
Example #4
0
 public void scannerOpenWithStop_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     scannerOpenWithStop_args args = new scannerOpenWithStop_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     scannerOpenWithStop_result result = new scannerOpenWithStop_result();
     try {
       result.success = iface_.scannerOpenWithStop(args.tableName, args.startRow, args.stopRow, args.columns);
       result.__isset.success = true;
     } catch (IOError io) {
       result.io = io;
       result.__isset.io = true;
     }
     oprot.WriteMessageBegin(new TMessage("scannerOpenWithStop", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }