OpenDaVINCI  4.15.3
TCPAcceptorListener.h
Go to the documentation of this file.
1 
20 #ifndef OPENDAVINCI_CORE_IO_TCP_TCPACCEPTORLISTENER_H_
21 #define OPENDAVINCI_CORE_IO_TCP_TCPACCEPTORLISTENER_H_
22 
23 #include <memory>
24 
26 
27 namespace odcore {
28  namespace io {
29  namespace tcp {
30 
31 class TCPConnection;
32 
34  public:
35  virtual ~TCPAcceptorListener();
36 
42  virtual void onNewConnection(std::shared_ptr<odcore::io::tcp::TCPConnection> connection) = 0;
43  };
44 
45  }
46  }
47 }
48 
49 #endif /* OPENDAVINCI_CORE_IO_TCP_TCPACCEPTORLISTENER_H_ */
Definition: TCPAcceptorListener.h:33
#define OPENDAVINCI_API
Definition: opendavinci.h:67