Method: Vines::Config::Port#start

Defined in:
lib/vines/config/port.rb

#startObject



33
34
35
36
37
# File 'lib/vines/config/port.rb', line 33

def start
  type = stream.name.split('::').last.downcase
  log.info("Accepting #{type} connections on #{host}:#{port}")
  EventMachine::start_server(host, port, stream, config)
end