public void checkAndPut_Process(int seqid, TProtocol iprot, TProtocol oprot) { checkAndPut_args args = new checkAndPut_args(); args.Read(iprot); iprot.ReadMessageEnd(); checkAndPut_result result = new checkAndPut_result(); try { result.Success = iface_.checkAndPut(args.Table, args.Row, args.Family, args.Qualifier, args.Value, args.Put); } catch (TIOError io) { result.Io = io; } oprot.WriteMessageBegin(new TMessage("checkAndPut", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void checkAndPut_Process(int seqid, TProtocol iprot, TProtocol oprot) { checkAndPut_args args = new checkAndPut_args(); args.Read(iprot); iprot.ReadMessageEnd(); checkAndPut_result result = new checkAndPut_result(); try { result.Success = iface_.checkAndPut(args.TableName, args.Row, args.Column, args.Value, args.Mput, args.Attributes); } catch (IOError io) { result.Io = io; } catch (IllegalArgument ia) { result.Ia = ia; } oprot.WriteMessageBegin(new TMessage("checkAndPut", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }