Class: Wakame::Event::ServiceBoundAgent

Inherits:
Base
  • Object
show all
Defined in:
lib/wakame/event.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#time

Instance Method Summary collapse

Methods inherited from Base

#log_message

Constructor Details

#initialize(service, agent) ⇒ ServiceBoundAgent

Returns a new instance of ServiceBoundAgent.



96
97
98
99
100
# File 'lib/wakame/event.rb', line 96

def initialize(service, agent)
  super()
  @service = service
  @agent = agent
end

Instance Attribute Details

#agentObject (readonly)

Returns the value of attribute agent.



95
96
97
# File 'lib/wakame/event.rb', line 95

def agent
  @agent
end

#serviceObject (readonly)

Returns the value of attribute service.



95
96
97
# File 'lib/wakame/event.rb', line 95

def service
  @service
end