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.



122
123
124
125
126
# File 'lib/wakame/event.rb', line 122

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

Instance Attribute Details

#serviceObject (readonly)

Returns the value of attribute service.



121
122
123
# File 'lib/wakame/event.rb', line 121

def service
  @service
end

#service_clusterObject (readonly)

Returns the value of attribute service_cluster.



121
122
123
# File 'lib/wakame/event.rb', line 121

def service_cluster
  @service_cluster
end