#include <server.h>


Public Member Functions | |
| Server () | |
| Constructs a new Server. | |
| bool | run () |
| Runs the server. | |
| void | registerConfig (Config *config) |
| void | addConfig (Config *config) |
| Add a new config to this server. | |
| bool | removeConfig (Config *config) |
| Remove a config from this config. | |
| const ConfigVector & | getConfigs () const |
| net::CommandQueue * | getServerThreadQueue () |
| VisitorResult | accept (ServerVisitor &visitor) |
| Traverse this server and all children using a server visitor. | |
| VisitorResult | accept (ConstServerVisitor &) const |
Protected Member Functions | |
| virtual bool | dispatchCommand (net::Command &command) |
| virtual net::CommandResult | invokeCommand (net::Command &command) |
Definition at line 49 of file server/server.h.
| bool eq::server::Server::run | ( | ) |
Runs the server.
true if the server did run successfully, false if not. Definition at line 132 of file server/server.cpp.
References eq::base::disableFlush(), eq::base::enableFlush(), EQERROR, EQINFO, eq::base::exdent(), eq::net::Node::getState(), eq::base::indent(), and eq::net::Node::STATE_LISTENING.

| void eq::server::Server::addConfig | ( | Config * | config | ) |
Add a new config to this server.
| config | the config. |
Definition at line 150 of file server/server.cpp.
References eq::server::Config::_server.
| bool eq::server::Server::removeConfig | ( | Config * | config | ) |
Remove a config from this config.
| config | the config |
true if the config was removed, false otherwise. | const ConfigVector& eq::server::Server::getConfigs | ( | ) | const [inline] |
| net::CommandQueue* eq::server::Server::getServerThreadQueue | ( | ) | [inline] |
| VisitorResult eq::server::Server::accept | ( | ServerVisitor & | visitor | ) |
Traverse this server and all children using a server visitor.
| visitor | the visitor. |
Definition at line 122 of file server/server.cpp.
| bool eq::server::Server::dispatchCommand | ( | net::Command & | command | ) | [protected, virtual] |
Reimplemented from eq::net::Node.
Definition at line 171 of file server/server.cpp.
| net::CommandResult eq::server::Server::invokeCommand | ( | net::Command & | command | ) | [protected, virtual] |
Reimplemented from eq::net::Node.
Definition at line 183 of file server/server.cpp.
0.9 by
1.5.8