• Benjamin Berg's avatar
    core: Introduce helper class to track connection keep alive · 37e8c53e
    Benjamin Berg authored
    For P2P connections it makes sense to bind the connection to the status
    of the operation that is being done. One example is that a wifi display
    (miracast) P2P connection should be shut down when streaming fails for
    some reason.
    This new helper class allows binding a connection to the presence of a
    DBus path meaning that it will be torn down if the process disappears.
nm-keep-alive.h 2.33 KB