class Radar::Api::AnalyzerController::Processor
Public Instance Methods
process_analyzers(seqid, iprot, oprot)
click to toggle source
# File gen/radar/api/analyzer_controller.rb, line 142 def process_analyzers(seqid, iprot, oprot) args = read_args(iprot, Analyzers_args) result = Analyzers_result.new() begin result.success = @handler.analyzers() rescue ::Radar::Api::ApplicationError => app_error result.app_error = app_error end write_result(result, oprot, 'analyzers', seqid) end
process_create_session(seqid, iprot, oprot)
click to toggle source
# File gen/radar/api/analyzer_controller.rb, line 177 def process_create_session(seqid, iprot, oprot) args = read_args(iprot, Create_session_args) result = Create_session_result.new() begin result.success = @handler.create_session(args.session_id, args.analyzer_id) rescue ::Radar::Api::ApplicationError => app_error result.app_error = app_error end write_result(result, oprot, 'create_session', seqid) end
process_destroy_session(seqid, iprot, oprot)
click to toggle source
# File gen/radar/api/analyzer_controller.rb, line 227 def process_destroy_session(seqid, iprot, oprot) args = read_args(iprot, Destroy_session_args) @handler.destroy_session(args.session_id) return end
process_dump(seqid, iprot, oprot)
click to toggle source
# File gen/radar/api/analyzer_controller.rb, line 188 def process_dump(seqid, iprot, oprot) args = read_args(iprot, Dump_args) result = Dump_result.new() begin result.success = @handler.dump(args.session_id) rescue ::Radar::Api::ApplicationError => app_error result.app_error = app_error end write_result(result, oprot, 'dump', seqid) end
process_example_result(seqid, iprot, oprot)
click to toggle source
# File gen/radar/api/analyzer_controller.rb, line 216 def process_example_result(seqid, iprot, oprot) args = read_args(iprot, Example_result_args) result = Example_result_result.new() begin @handler.example_result(args.session_id) rescue ::Radar::Api::ApplicationError => app_error result.app_error = app_error end write_result(result, oprot, 'example_result', seqid) end
process_on_cash_flow(seqid, iprot, oprot)
click to toggle source
# File gen/radar/api/analyzer_controller.rb, line 171 def process_on_cash_flow(seqid, iprot, oprot) args = read_args(iprot, On_cash_flow_args) @handler.on_cash_flow(args.session_id, args.cash_flow) return end
process_on_each_day(seqid, iprot, oprot)
click to toggle source
# File gen/radar/api/analyzer_controller.rb, line 153 def process_on_each_day(seqid, iprot, oprot) args = read_args(iprot, On_each_day_args) @handler.on_each_day(args.sessionid, args.portfolio) return end
process_on_each_month(seqid, iprot, oprot)
click to toggle source
# File gen/radar/api/analyzer_controller.rb, line 159 def process_on_each_month(seqid, iprot, oprot) args = read_args(iprot, On_each_month_args) @handler.on_each_month(args.sessionid, args.portfolio) return end
process_on_finish(seqid, iprot, oprot)
click to toggle source
# File gen/radar/api/analyzer_controller.rb, line 165 def process_on_finish(seqid, iprot, oprot) args = read_args(iprot, On_finish_args) @handler.on_finish(args.session_id, args.portfolio) return end
process_result(seqid, iprot, oprot)
click to toggle source
# File gen/radar/api/analyzer_controller.rb, line 205 def process_result(seqid, iprot, oprot) args = read_args(iprot, Result_args) result = Result_result.new() begin result.success = @handler.result(args.session_id) rescue ::Radar::Api::ApplicationError => app_error result.app_error = app_error end write_result(result, oprot, 'result', seqid) end
process_resume(seqid, iprot, oprot)
click to toggle source
# File gen/radar/api/analyzer_controller.rb, line 199 def process_resume(seqid, iprot, oprot) args = read_args(iprot, Resume_args) @handler.resume(args.session_id, args.data) return end