void SuiteListen::Test() { // Debug::SetLevel(Debug::kSsdpMulticast); SsdpNotifyLoggerM notifyLogger; MSearchLogger msearchLogger; SsdpListenerMulticast mListener(NetworkIf(iInterfaceIndex)); TInt notifyId = mListener.AddNotifyHandler(¬ifyLogger); TInt msearchId = mListener.AddMsearchHandler(&msearchLogger); mListener.Start(); iTimer->FireIn(iDuration); iSem.Wait(); mListener.RemoveNotifyHandler(notifyId); mListener.RemoveMsearchHandler(msearchId); }
void MicrosecondTimer::Expired() { iExpired = true; iTimer.FireIn(100); }