Class: Wakame::Event::ServiceBoundCluster

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(svc_inst, cluster) ⇒ ServiceBoundCluster

Returns a new instance of ServiceBoundCluster.



183
184
185
186
187
# File 'lib/wakame/event.rb', line 183

def initialize(svc_inst, cluster)
  super()
  @service = svc_inst
  @service_cluster = cluster
end

Instance Attribute Details

#serviceObject (readonly)

Returns the value of attribute service.



182
183
184
# File 'lib/wakame/event.rb', line 182

def service
  @service
end

#service_clusterObject (readonly)

Returns the value of attribute service_cluster.



182
183
184
# File 'lib/wakame/event.rb', line 182

def service_cluster
  @service_cluster
end