public void send_scannerOpen(byte[] tableName, byte[] startRow, List<byte[]> columns) { this.oprot_.WriteMessageBegin(new TMessage("scannerOpen", TMessageType.Call, this.seqid_)); var args = new scannerOpen_args(); args.TableName = tableName; args.StartRow = startRow; args.Columns = columns; args.Write(this.oprot_); this.oprot_.WriteMessageEnd(); this.oprot_.Transport.Flush(); }
public void send_scannerOpen(byte[] tableName, byte[] startRow, List<byte[]> columns, Dictionary<byte[], byte[]> attributes) #endif { oprot_.WriteMessageBegin(new TMessage("scannerOpen", TMessageType.Call, seqid_)); scannerOpen_args args = new scannerOpen_args(); args.TableName = tableName; args.StartRow = startRow; args.Columns = columns; args.Attributes = attributes; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void scannerOpen_Process(int seqid, TProtocol iprot, TProtocol oprot) { var args = new scannerOpen_args(); args.Read(iprot); iprot.ReadMessageEnd(); var result = new scannerOpen_result(); try { result.Success = this.iface_.scannerOpen(args.TableName, args.StartRow, args.Columns); } catch (IOError io) { result.Io = io; } oprot.WriteMessageBegin(new TMessage("scannerOpen", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void scannerOpen_Process(int seqid, TProtocol iprot, TProtocol oprot) { scannerOpen_args args = new scannerOpen_args(); args.Read(iprot); iprot.ReadMessageEnd(); scannerOpen_result result = new scannerOpen_result(); try { result.success = iface_.scannerOpen(args.tableName, args.startRow, args.columns); result.__isset.success = true; } catch (IOError io) { result.io = io; result.__isset.io = true; } oprot.WriteMessageBegin(new TMessage("scannerOpen", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }