Class: Noah::Agents::DummyAgent

Inherits:
Base
  • Object
show all
Defined in:
lib/noah/agents/dummy_agent.rb

Constant Summary collapse

PREFIX =
"dummy://"
NAME =
self.class.to_s
DEFAULT_CONCURRENCY =
10

Constants inherited from Base

Base::NEEDS_TRANSFORM

Instance Method Summary collapse

Methods inherited from Base

inherited, #logger, #notify

Instance Method Details

#work!(ep, message) ⇒ Object



10
11
12
13
# File 'lib/noah/agents/dummy_agent.rb', line 10

def work!(ep, message)
    logger.info("Sending message to: #{ep}")
    logger.info("Dummy message received: #{message}")
end