Class: Wakame::Event::AgentMappedCloudHost

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(cloud_host_id, agent_id) ⇒ AgentMappedCloudHost

Returns a new instance of AgentMappedCloudHost.



111
112
113
114
115
# File 'lib/wakame/event.rb', line 111

def initialize(cloud_host_id, agent_id)
  super()
  @agent_id = agent_id
  @cloud_host_id = cloud_host_id
end

Instance Attribute Details

#agent_idObject (readonly)

Returns the value of attribute agent_id.



110
111
112
# File 'lib/wakame/event.rb', line 110

def agent_id
  @agent_id
end

#cloud_host_idObject (readonly)

Returns the value of attribute cloud_host_id.



110
111
112
# File 'lib/wakame/event.rb', line 110

def cloud_host_id
  @cloud_host_id
end