Global parameter handling for the Equalizer network implementation. More...
#include <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 () |
| static void | setObjectBufferSize (const uint32_t size) |
| Set the minimum buffer size for Object serialization. | |
| static uint32_t | getObjectBufferSize () |
Attributes | |
|
| |
| enum | IAttribute { IATTR_INSTANCE_CACHE_SIZE, IATTR_RSP_ACK_TIMEOUT, IATTR_RSP_MAX_TIMEOUTS, IATTR_RSP_NACK_DELAY, IATTR_RSP_ERROR_BASE_RATE, IATTR_RSP_ERROR_DOWNSCALE, IATTR_RSP_ERROR_UPSCALE, IATTR_RSP_ERROR_MAX, IATTR_RSP_NUM_BUFFERS, IATTR_UDP_MTU, IATTR_UDP_PACKET_RATE, IATTR_ALL } |
Global integer attributes. More... | |
| static void | setIAttribute (const IAttribute attr, const int32_t value) |
| Set an integer attribute. | |
| static int32_t | getIAttribute (const IAttribute attr) |
Global parameter handling for the Equalizer network implementation.
Definition at line 33 of file lib/net/global.h.
Global integer attributes.
Definition at line 86 of file lib/net/global.h.
| void eq::net::Global::setProgramName | ( | const std::string & | programName | ) | [static] |
Sets the name of the program.
| programName | the program name. |
Definition at line 75 of file lib/net/global.cpp.
| static const std::string& eq::net::Global::getProgramName | ( | ) | [inline, static] |
Definition at line 44 of file lib/net/global.h.
Referenced by eq::AGLEventHandler::initMagellan().

| void eq::net::Global::setWorkDir | ( | const std::string & | workDir | ) | [static] |
Sets the working directory of the program.
| workDir | the working directory. |
Definition at line 79 of file lib/net/global.cpp.
| static const std::string& eq::net::Global::getWorkDir | ( | ) | [inline, static] |
Definition at line 54 of file lib/net/global.h.
| static void eq::net::Global::setDefaultPort | ( | const uint16_t | port | ) | [inline, static] |
Sets the default listening port.
| port | the default port. |
Definition at line 61 of file lib/net/global.h.
| static uint16_t eq::net::Global::getDefaultPort | ( | ) | [inline, static] |
Definition at line 65 of file lib/net/global.h.
Referenced by eq::net::Node::initLocal().

| static void eq::net::Global::setObjectBufferSize | ( | const uint32_t | size | ) | [inline, static] |
Set the minimum buffer size for Object serialization.
The buffer size is used during serialization. When a DataOStream has buffered at least size bytes, the data is send to the slave nodes. The default is 60.000 bytes.
| size | the treshold before the DataOStream sends a buffer. |
Definition at line 76 of file lib/net/global.h.
| static uint32_t eq::net::Global::getObjectBufferSize | ( | ) | [inline, static] |
Definition at line 80 of file lib/net/global.h.
Referenced by eq::net::DataOStream::write().

| static void eq::net::Global::setIAttribute | ( | const IAttribute | attr, | |
| const int32_t | value | |||
| ) | [inline, static] |
Set an integer attribute.
Definition at line 103 of file lib/net/global.h.
| static int32_t eq::net::Global::getIAttribute | ( | const IAttribute | attr | ) | [inline, static] |
Definition at line 107 of file lib/net/global.h.
Referenced by eq::net::RSPConnection::RSPConnection(), and eq::net::UDPConnection::UDPConnection().

0.9.1 by
1.6.1