69 CO_API
static bool fromString(
const std::string& data );
72 CO_API
static void toString( std::string& data );
83 IATTR_INSTANCE_CACHE_SIZE,
85 IATTR_NODE_SEND_QUEUE_SIZE,
86 IATTR_NODE_SEND_QUEUE_AGE,
87 IATTR_RSP_ACK_TIMEOUT,
88 IATTR_RSP_ERROR_DOWNSCALE,
89 IATTR_RSP_ERROR_UPSCALE,
90 IATTR_RSP_ERROR_MAXSCALE,
91 IATTR_RSP_MIN_SENDRATE_SHIFT,
92 IATTR_RSP_NUM_BUFFERS,
93 IATTR_RSP_ACK_FREQUENCY,
95 IATTR_UDP_BUFFER_SIZE,
98 IATTR_RDMA_RING_BUFFER_SIZE_MB,
99 IATTR_RDMA_SEND_QUEUE_DEPTH,
100 IATTR_RDMA_RESOLVE_TIMEOUT_MS,
102 IATTR_TIMEOUT_DEFAULT,
103 IATTR_OBJECT_COMPRESSION,
108 CO_API
static void setIAttribute(
const IAttribute attr,
109 const int32_t value );
112 CO_API
static int32_t getIAttribute(
const IAttribute attr );
115 CO_API
static uint32_t getTimeout();
119 CO_API
static uint32_t getKeepaliveTimeout();
124 #endif // CO_GLOBAL_H
static CO_API uint16_t getDefaultPort()
static CO_API uint32_t getObjectBufferSize()
static CO_API void setDefaultPort(const uint16_t port)
Set the default listening port.
static CO_API void setObjectBufferSize(const uint32_t size)
Set the minimum buffer size for Object serialization.
static CO_API lunchbox::PluginRegistry & getPluginRegistry()
Global parameter handling for the Collage library.
IAttribute
Global integer attributes.