Static Public Member Functions

eq::net::Global Class Reference

Global parameter handling for the Equalizer network implementation. More...

#include <global.h>

List of all members.

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_NODE_SEND_QUEUE_SIZE, IATTR_NODE_SEND_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 void setIAttribute (const IAttribute attr, const int32_t value)
 Set an integer attribute.
static int32_t getIAttribute (const IAttribute attr)

Detailed Description

Global parameter handling for the Equalizer network implementation.

Definition at line 33 of file co/global.h.


Member Enumeration Documentation

Global integer attributes.

Definition at line 84 of file co/global.h.


Member Function Documentation

static uint16_t eq::net::Global::getDefaultPort (  ) [static]
Returns:
the default listening port.
static int32_t eq::net::Global::getIAttribute ( const IAttribute  attr ) [static]
Returns:
the value of an integer attribute.
static uint32_t eq::net::Global::getObjectBufferSize (  ) [static]
Returns:
the minimum buffer size for Object serialization.
static const std::string& eq::net::Global::getProgramName (  ) [static]
Returns:
the program name.
static const std::string& eq::net::Global::getWorkDir (  ) [static]
Returns:
the working directory of the program.
static void eq::net::Global::setDefaultPort ( const uint16_t  port ) [static]

Sets the default listening port.

Parameters:
portthe default port.
static void eq::net::Global::setIAttribute ( const IAttribute  attr,
const int32_t  value 
) [static]

Set an integer attribute.

static void eq::net::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.

Parameters:
sizethe treshold before the DataOStream sends a buffer.
static void eq::net::Global::setProgramName ( const std::string &  programName ) [static]

Sets the name of the program.

Parameters:
programNamethe program name.
static void eq::net::Global::setWorkDir ( const std::string &  workDir ) [static]

Sets the working directory of the program.

Parameters:
workDirthe working directory.

The documentation for this class was generated from the following file:
Generated on Sat Dec 18 2010 15:02:13 for Equalizer 1.0-alpha by  1.7.2