Guard guard(a_mutex, "comm::CongestionController (setLimit)");
if(limit < 0 || limit > 100) {
Guard guard(a_mutex, "comm::CongestionController (setLimit)");
if(limit < 0 || limit > 100) {
* por su manejador asociado.
*/
comm::CongestionController::Advice::_v comm::CongestionController::getAdvice(const ClientSocket& clientSocket)
* por su manejador asociado.
*/
comm::CongestionController::Advice::_v comm::CongestionController::getAdvice(const ClientSocket& clientSocket)
Guard guard(a_mutex, "comm::CongestionController::incrementIncomingSocket");
a_incomingSocketCounter ++;
}
void comm::CongestionController::decrementIncomingSocket()
Guard guard(a_mutex, "comm::CongestionController::incrementIncomingSocket");
a_incomingSocketCounter ++;
}
void comm::CongestionController::decrementIncomingSocket()
static const char* modetxt [] = { "Auto", "Local", "Global" };
xml::Node* result = parent->createChild("comm.CongestionController");
result->createAttribute("Limit", a_limit);
static const char* modetxt [] = { "Auto", "Local", "Global" };
xml::Node* result = parent->createChild("comm.CongestionController");
result->createAttribute("Limit", a_limit);