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.


157
158
159
160
161
# File 'lib/wakame/event.rb', line 157

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

Instance Attribute Details

#agentObject (readonly)

Returns the value of attribute agent.


156
157
158
# File 'lib/wakame/event.rb', line 156

def agent
  @agent
end

#serviceObject (readonly)

Returns the value of attribute service.


156
157
158
# File 'lib/wakame/event.rb', line 156

def service
  @service
end