public void scannerOpenWithScan_Process(int seqid, TProtocol iprot, TProtocol oprot) { var args = new scannerOpenWithScan_args(); args.Read(iprot); iprot.ReadMessageEnd(); var result = new scannerOpenWithScan_result(); try { result.Success = this.iface_.scannerOpenWithScan(args.TableName, args.Scan); } catch (IOError io) { result.Io = io; } oprot.WriteMessageBegin(new TMessage("scannerOpenWithScan", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_scannerOpenWithScan(byte[] tableName, TScan scan) { this.oprot_.WriteMessageBegin(new TMessage("scannerOpenWithScan", TMessageType.Call, this.seqid_)); var args = new scannerOpenWithScan_args(); args.TableName = tableName; args.Scan = scan; args.Write(this.oprot_); this.oprot_.WriteMessageEnd(); this.oprot_.Transport.Flush(); }
public void send_scannerOpenWithScan(byte[] tableName, TScan scan, Dictionary<byte[], byte[]> attributes) #endif { oprot_.WriteMessageBegin(new TMessage("scannerOpenWithScan", TMessageType.Call, seqid_)); scannerOpenWithScan_args args = new scannerOpenWithScan_args(); args.TableName = tableName; args.Scan = scan; args.Attributes = attributes; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }