public void mutateRows_Process(int seqid, TProtocol iprot, TProtocol oprot) { var args = new mutateRows_args(); args.Read(iprot); iprot.ReadMessageEnd(); var result = new mutateRows_result(); try { this.iface_.mutateRows(args.TableName, args.RowBatches); } catch (IOError io) { result.Io = io; } catch (IllegalArgument ia) { result.Ia = ia; } oprot.WriteMessageBegin(new TMessage("mutateRows", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void recv_mutateRows() { TMessage msg = this.iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(this.iprot_); this.iprot_.ReadMessageEnd(); throw x; } var result = new mutateRows_result(); result.Read(this.iprot_); this.iprot_.ReadMessageEnd(); if (result.__isset.io) { throw result.Io; } if (result.__isset.ia) { throw result.Ia; } return; }
public void mutateRows_Process(int seqid, TProtocol iprot, TProtocol oprot) { mutateRows_args args = new mutateRows_args(); args.Read(iprot); iprot.ReadMessageEnd(); mutateRows_result result = new mutateRows_result(); try { iface_.mutateRows(args.tableName, args.rowBatches); } catch (IOError io) { result.io = io; result.__isset.io = true; } catch (IllegalArgument ia) { result.ia = ia; result.__isset.ia = true; } oprot.WriteMessageBegin(new TMessage("mutateRows", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }