예제 #1
0
bool IRCRoom::UserDetails::getBanned() const
{
	OS_LOCK(*m_cs);
	return m_banned;
}
예제 #2
0
void IRCRoom::markModified()
{
	OS_LOCK(*m_cs);
	m_modified = true;
}
예제 #3
0
std::string IRCSession::getNick() const
{
	OS_LOCK(m_dataCS);
	return m_nick;
}
예제 #4
0
bool pimpl<Thread>::stopped() const
{
	OS_LOCK(m_cs);
	return m_status == isStopped;
}
예제 #5
0
uint32 IRCSession::getTimeout() const
{
	OS_LOCK(m_dataCS);
	return m_timeout;
}
예제 #6
0
void IRCSession::setClientName(const std::string &clientName)
{
	OS_LOCK(m_dataCS);
	m_clientName = clientName;
}
예제 #7
0
boost::asio::ip::tcp::endpoint PortalsPeer::getEndpoint() const
{
    OS_LOCK(*m_mutex);
    return m_endpoint;
}
예제 #8
0
uint32 NetworkService::getWorkerThreadsCount() const
{
	OS_LOCK(m_impl->serviceCS);
	return m_impl->workerThreadsCount;
}
예제 #9
0
void PortalsPeer::setSupernode(bool supernode)
{
    OS_LOCK(*m_mutex);
    m_supernode = supernode;
}
예제 #10
0
uint64 PortalsPeer::getID() const
{
    OS_LOCK(*m_mutex);
    return makeID(m_endpoint);
}
예제 #11
0
bool pimpl<Thread>::ready() const
{
	OS_LOCK(m_cs);
	return m_status == isReady;
}
예제 #12
0
TaskPriority pimpl<Thread>::getPriority() const
{
	OS_LOCK(m_cs);
	return m_priority;
}
예제 #13
0
boost::any pimpl<Thread>::getID() const
{
	OS_LOCK(m_cs);
	return m_id;
}
예제 #14
0
IRCUserType IRCRoom::UserDetails::getType() const
{
	OS_LOCK(*m_cs);
	return m_type;
}
예제 #15
0
uint16 PortalsPeer::getRetries() const
{
    OS_LOCK(*m_mutex);
    return m_retries;
}
예제 #16
0
bool IRCRoom::UserDetails::getVoice() const
{
	OS_LOCK(*m_cs);
	return m_voice;
}
예제 #17
0
String PortalsPeer::getOrigin() const
{
    OS_LOCK(*m_mutex);
    return m_origin;
}
예제 #18
0
bool IRCSession::getEnableSSL() const
{
	OS_LOCK(m_dataCS);
	return m_enableSSL;
}
예제 #19
0
DateTime PortalsPeer::getLastContactDate() const
{
    OS_LOCK(*m_mutex);
    return m_lastContactDate;
}
예제 #20
0
std::string IRCSession::getClientName() const
{
	OS_LOCK(m_dataCS);
	return m_clientName;
}
예제 #21
0
bool PortalsPeer::getSupernode() const
{
    OS_LOCK(*m_mutex);
    return m_supernode;
}
예제 #22
0
std::string IRCSession::getUser() const
{
	OS_LOCK(m_dataCS);
	return m_user;
}
예제 #23
0
bool IRCRoom::UserDetails::getInvisible() const
{
	OS_LOCK(*m_cs);
	return m_invisible;
}
예제 #24
0
shared_ptr<IRCUser> IRCSession::getLocalUser()
{
	OS_LOCK(m_dataCS);
	return ensureUser(m_nick);
}
예제 #25
0
bool pimpl<Thread>::running() const
{
	OS_LOCK(m_cs);
	return m_status == isRunning;
}