Class: Vines::Config::ComponentPort

Inherits:
Port
  • Object
show all
Defined in:
lib/vines/config/port.rb

Instance Attribute Summary

Attributes inherited from Port

#config, #settings, #stream

Instance Method Summary collapse

Methods inherited from Port

#max_stanza_size, #start

Methods included from Log

#log

Constructor Details

#initialize(config, host = '0.0.0.0', port = 5347, &block) ⇒ ComponentPort

Returns a new instance of ComponentPort.



126
127
128
129
# File 'lib/vines/config/port.rb', line 126

def initialize(config, host='0.0.0.0', port=5347, &block)
  @stream = Vines::Stream::Component
  super(config, host, port, &block)
end