Class: Waves::Server

Inherits:
Worker show all
Defined in:
lib/runtime/server.rb

Instance Attribute Summary

Attributes inherited from Runtime

#options

Instance Method Summary collapse

Methods inherited from Worker

#daemonize, instance, #restart, run, #set_traps, #start, #start_console, #start_debugger, #start_logger, #stop

Methods inherited from Runtime

#config, #debug?, #initialize, #log, #mode, #reload, #synchronize, #synchronize?

Constructor Details

This class inherits a constructor from Waves::Runtime

Instance Method Details

#start_tasksObject



5
6
7
8
# File 'lib/runtime/server.rb', line 5

def start_tasks
  @server = config.server.new( application, host, port )
  @server.start
end

#stop_tasksObject



10
# File 'lib/runtime/server.rb', line 10

def stop_tasks ; @server.stop ; end