Equalizer 1.0
|
Global parameter handling for the Equalizer network implementation. More...
#include <global.h>
Static Public Member Functions | |
static CO_API void | setProgramName (const std::string &programName) |
Sets the name of the program. | |
static CO_API const std::string & | getProgramName () |
static CO_API void | setWorkDir (const std::string &workDir) |
Sets the working directory of the program. | |
static CO_API const std::string & | getWorkDir () |
static CO_API void | setDefaultPort (const uint16_t port) |
Sets the default listening port. | |
static CO_API uint16_t | getDefaultPort () |
static CO_API void | setObjectBufferSize (const uint32_t size) |
Set the minimum buffer size for Object serialization. | |
static CO_API uint32_t | getObjectBufferSize () |
Attributes | |
enum | IAttribute { IATTR_INSTANCE_CACHE_SIZE, IATTR_NODE_SEND_QUEUE_SIZE, IATTR_NODE_SEND_QUEUE_AGE, IATTR_RSP_ACK_TIMEOUT, IATTR_RSP_ERROR_DOWNSCALE, IATTR_RSP_ERROR_UPSCALE, IATTR_RSP_ERROR_MAXSCALE, IATTR_RSP_MIN_SENDRATE_SHIFT, IATTR_RSP_NUM_BUFFERS, IATTR_RSP_ACK_FREQUENCY, IATTR_UDP_MTU, IATTR_UDP_BUFFER_SIZE, IATTR_ALL } |
Global integer attributes. More... | |
static CO_API void | setIAttribute (const IAttribute attr, const int32_t value) |
Set an integer attribute. | |
static CO_API int32_t | getIAttribute (const IAttribute attr) |
Global parameter handling for the Equalizer network implementation.
Definition at line 32 of file co/global.h.
Global integer attributes.
Definition at line 83 of file co/global.h.
static CO_API uint16_t co::Global::getDefaultPort | ( | ) | [static] |
static CO_API int32_t co::Global::getIAttribute | ( | const IAttribute | attr | ) | [static] |
static CO_API uint32_t co::Global::getObjectBufferSize | ( | ) | [static] |
static CO_API const std::string& co::Global::getProgramName | ( | ) | [static] |
static CO_API const std::string& co::Global::getWorkDir | ( | ) | [static] |
static CO_API void co::Global::setDefaultPort | ( | const uint16_t | port | ) | [static] |
Sets the default listening port.
port | the default port. |
static CO_API void co::Global::setIAttribute | ( | const IAttribute | attr, |
const int32_t | value | ||
) | [static] |
Set an integer attribute.
static CO_API void co::Global::setObjectBufferSize | ( | const uint32_t | size | ) | [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. |
static CO_API void co::Global::setProgramName | ( | const std::string & | programName | ) | [static] |
Sets the name of the program.
programName | the program name. |
static CO_API void co::Global::setWorkDir | ( | const std::string & | workDir | ) | [static] |
Sets the working directory of the program.
workDir | the working directory. |