class Concord::Thrift::MutableEphemeralStateService::Processor
Public Instance Methods
process_getState(seqid, iprot, oprot)
click to toggle source
# File lib/gen-rb/mutable_ephemeral_state_service.rb, line 63 def process_getState(seqid, iprot, oprot) args = read_args(iprot, GetState_args) result = GetState_result.new() begin result.success = @handler.getState(args.key) rescue ::Concord::Thrift::BoltError => e result.e = e end write_result(result, oprot, 'getState', seqid) end
process_setState(seqid, iprot, oprot)
click to toggle source
# File lib/gen-rb/mutable_ephemeral_state_service.rb, line 52 def process_setState(seqid, iprot, oprot) args = read_args(iprot, SetState_args) result = SetState_result.new() begin @handler.setState(args.key, args.value) rescue ::Concord::Thrift::BoltError => e result.e = e end write_result(result, oprot, 'setState', seqid) end