Class: N::App::Server
- Inherits:
-
Server
- Object
- N::Application
- Server
- N::App::Server
- Includes:
- ServerMixin
- Defined in:
- lib/n/app/server.rb
Overview
AppServer
The Application Server. Handles dynamic requests in a web application. Dont keepalive (or use a VERY SMALL keepalive). Typically this server is used along with a standars http server that handles other resources.
Instance Attribute Summary
Attributes inherited from Server
Attributes inherited from N::Application
#create_time, #daemonized, #description, #name, #pid, #pidfile, #status, #title, #version
Instance Method Summary collapse
-
#initialize(name = "AppServer") ⇒ Server
constructor
A new instance of Server.
Methods included from ServerMixin
Methods inherited from Server
Methods inherited from N::Application
#daemon_pid, #daemonize, #parse_arguments, #restart, #run, #start, #stop
Constructor Details
#initialize(name = "AppServer") ⇒ Server
Returns a new instance of Server.
47 48 49 50 |
# File 'lib/n/app/server.rb', line 47 def initialize(name = "AppServer") super initialize_app() end |