Class: Concord::Thrift::BoltPipeService::Processor

Inherits:
Object
  • Object
show all
Includes:
Thrift::Processor
Defined in:
lib/gen-rb/bolt_pipe_service.rb

Instance Method Summary collapse

Instance Method Details

#process_dispatchRecords(seqid, iprot, oprot) ⇒ Object



36
37
38
39
40
41
42
43
44
45
# File 'lib/gen-rb/bolt_pipe_service.rb', line 36

def process_dispatchRecords(seqid, iprot, oprot)
  args = read_args(iprot, DispatchRecords_args)
  result = DispatchRecords_result.new()
  begin
    @handler.dispatchRecords(args.records)
  rescue ::Concord::Thrift::BoltError => e
    result.e = e
  end
  write_result(result, oprot, 'dispatchRecords', seqid)
end