Method: Kazoo::Broker#initialize
- Defined in:
- lib/kazoo/broker.rb
#initialize(cluster, id, host, port, jmx_port: nil) ⇒ Broker
Returns a new instance of Broker.
5 6 7 8 9 |
# File 'lib/kazoo/broker.rb', line 5 def initialize(cluster, id, host, port, jmx_port: nil) @cluster = cluster @id, @host, @port = id, host, port @jmx_port = jmx_port end |