MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / stop

Method stop

src/core/PanadapterStream.cpp:387–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385}
386
387void PanadapterStream::stop()
388{
389 if (m_wanRegisterTimer) {
390 m_wanRegisterTimer->stop();
391 }
392 if (m_wanPingTimer) {
393 m_wanPingTimer->stop();
394 }
395 if (m_routedPrimeTimer) {
396 m_routedPrimeTimer->stop();
397 }
398 m_isWanMode = false;
399 m_wanRegistered = false;
400 m_wanClientHandle = 0;
401 m_hasReceivedPacket = false;
402 if (m_socket) {
403 m_socket->close();
404 }
405 m_radioAddress = QHostAddress();
406 m_radioPort = 0;
407 m_localAddress = QHostAddress();
408 m_localPort = 0;
409 resetAudioStreamStats();
410}
411
412// ─── Datagram reception ───────────────────────────────────────────────────────
413

Callers 3

initMethod · 0.45
rebindToEphemeralPortMethod · 0.45
onDatagramReadyMethod · 0.45

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected