Browse Source

add precondition to signal_ functions

makefile-conf
Volker Birk 9 months ago
parent
commit
91163e0a71
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/transport.hh

+ 4
- 0
src/transport.hh View File

@ -43,6 +43,10 @@ namespace pEp {
virtual void sendto(pEp::Message& msg);
virtual Message recvnext();
// the signal_ function register signal handlers
// they must be called while a transport is running, otherwise they
// throw std::logic_error in case the transport is shut down
virtual void
signal_statuschange(std::function(void(PEP_transport_status_code)));


Loading…
Cancel
Save