Exemplo n.º 1
0
SupervisionListener::SupervisionListener(ThreadNetif &aThreadNetif) :
    ThreadNetifLocator(aThreadNetif),
    mTimer(aThreadNetif.GetInstance(), &SupervisionListener::HandleTimer, this),
    mTimeout(0)
{
    SetTimeout(kDefaultTimeout);
}
Exemplo n.º 2
0
ChildSupervisor::ChildSupervisor(ThreadNetif &aThreadNetif) :
    ThreadNetifLocator(aThreadNetif),
    mTimer(aThreadNetif.GetInstance(), &ChildSupervisor::HandleTimer, this),
    mSupervisionInterval(kDefaultSupervisionInterval)
{
}