void Client::send(const char* aMessage, size_t aLen) { if (!isConnected() || !sock) { dcassert(0); return; } updateActivity(); sock->write(aMessage, aLen); COMMAND_DEBUG(aMessage, DebugManager::TYPE_HUB, DebugManager::OUTGOING, getIpPort()); }
void Client::send(const char* aMessage, size_t aLen) { if(!isReady()) { dcassert(0); return; } updateActivity(); sock->write(aMessage, aLen); COMMAND_DEBUG(aMessage, DebugManager::HUB_OUT, getIpPort()); }
void Client::send(const char* aMessage, size_t aLen) { if (!isReady()) { dcdebug("Send message failed, hub is disconnected!");//[+] IRainman dcassert(isReady()); // ѕод отладкой падаем тут. найти причину. return; } updateActivity(); { #ifdef FLYLINKDC_USE_CS_CLIENT_SOCKET FastLock lock(csSock); // [+] brain-ripper #endif m_client_sock->write(aMessage, aLen); } if (!CompatibilityManager::isWine()) { COMMAND_DEBUG(aMessage, DebugTask::HUB_OUT, getIpPort()); } }
void Client::on(Line, const string& aLine) noexcept { updateActivity(); COMMAND_DEBUG(aLine, DebugManager::TYPE_HUB, DebugManager::INCOMING, getIpPort()); }
void Client::on(Line, const string& aLine) throw() { updateActivity(); COMMAND_DEBUG(aLine, DebugManager::HUB_IN, getIpPort()) }
void Client::on(Line, const string& aLine) noexcept { updateActivity(); COMMAND_DEBUG(aLine, DebugTask::HUB_IN, getIpPort()); }