Method: NewRelic::Agent::Commands::AgentCommandRouter#call_handler_for

Defined in:
lib/new_relic/agent/commands/agent_command_router.rb

#call_handler_for(agent_command) ⇒ Object



128
129
130
131
# File 'lib/new_relic/agent/commands/agent_command_router.rb', line 128

def call_handler_for(agent_command)
  handler = select_handler(agent_command)
  handler.call(agent_command)
end