mirror of https://github.com/nostar/urfd.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
580 B
27 lines
580 B
#include "ImrsClient.h"
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////
|
|
// constructors
|
|
|
|
CImrsClient::CImrsClient()
|
|
{
|
|
}
|
|
|
|
CImrsClient::CImrsClient(const CCallsign &callsign, const CIp &ip, char reflectorModule)
|
|
: CClient(callsign, ip, reflectorModule)
|
|
{
|
|
}
|
|
|
|
CImrsClient::CImrsClient(const CImrsClient &client)
|
|
: CClient(client)
|
|
{
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////
|
|
// status
|
|
|
|
bool CImrsClient::IsAlive(void) const
|
|
{
|
|
return (m_LastKeepaliveTime.time() < IMRS_KEEPALIVE_TIMEOUT);
|
|
}
|