Class: EventMachine::EvmaTCPServer

Inherits:
Selectable
  • Object
show all
Defined in:
lib/style/handler/eventmachine.rb

Class Method Summary collapse

Class Method Details

.start_server(host, port) ⇒ Object

Use $STYLE_SOCKET instead of creating a socket with the host and port



38
39
40
# File 'lib/style/handler/eventmachine.rb', line 38

def start_server(host, port)
  EvmaTCPServer.new $STYLE_SOCKET
end