MCPcopy Create free account
hub / github.com/attermann/microReticulum / interface_to_shared_instance

Method interface_to_shared_instance

src/microReticulum/Transport.cpp:4530–4537  ·  view source on GitHub ↗

static*/

Source from the content-addressed store, hash-verified

4528}
4529
4530/*static*/ bool Transport::interface_to_shared_instance(const Interface& interface) {
4531 if (interface.is_connected_to_shared_instance()) {
4532 return true;
4533 }
4534 else {
4535 return false;
4536 }
4537}
4538
4539// Clean-shutdown sequence for the interface layer: tear down all links so peers
4540// see the connection drop, drain for 150ms to let teardown packets leave, then

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected