49 if (newState == FaceState::CLOSED) {
void setUri(const FaceUri &uri) noexcept
void setDefaultMtu(size_t mtu) noexcept
Generalization of a network interface.
signal::Signal< Transport, FaceState, FaceState > & afterStateChange
Called when the transport state changes.
TransportState
Indicates the state of a transport.
void connectFaceClosedSignal(Face &face, std::function< void()> f)
Invokes a callback when a face is closed.