#include <global.h>
Definition at line 20 of file net/global.h.
Static Public Member Functions | |
| static void | setProgramName (const std::string &programName) |
| Sets the name of the program. | |
| static const std::string & | getProgramName () |
| static void | setWorkDir (const std::string &workDir) |
| Sets the working directory of the program. | |
| static const std::string & | getWorkDir () |
| static void | setDefaultPort (const uint16_t port) |
| Sets the default listening port. | |
| static uint16_t | getDefaultPort () |
| void eq::net::Global::setProgramName | ( | const std::string & | programName | ) | [static] |
Sets the name of the program.
| programName | the program name. |
Definition at line 16 of file net/global.cpp.
Referenced by eq::net::init().

| static const std::string& eq::net::Global::getProgramName | ( | ) | [inline, static] |
Definition at line 31 of file net/global.h.
Referenced by eq::net::init().

| void eq::net::Global::setWorkDir | ( | const std::string & | workDir | ) | [static] |
Sets the working directory of the program.
| workDir | the working directory. |
Definition at line 20 of file net/global.cpp.
Referenced by eq::net::init(), and eq::net::Node::runClient().

| static const std::string& eq::net::Global::getWorkDir | ( | ) | [inline, static] |
Definition at line 41 of file net/global.h.
Referenced by eq::net::init().

| static void eq::net::Global::setDefaultPort | ( | const uint16_t | port | ) | [inline, static] |
Sets the default listening port.
| port | the default port. |
Definition at line 49 of file net/global.h.
| static uint16_t eq::net::Global::getDefaultPort | ( | ) | [inline, static] |
Definition at line 53 of file net/global.h.
Referenced by eq::net::Node::initLocal().

0.6 by
1.5.5