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(); }