OpenDaVINCI  4.16.0
odcore::io::tcp::TCPAcceptorListener Class Referenceabstract

#include <TCPAcceptorListener.h>

Inheritance diagram for odcore::io::tcp::TCPAcceptorListener:
Inheritance graph

Public Member Functions

virtual ~TCPAcceptorListener ()
 
virtual void onNewConnection (std::shared_ptr< odcore::io::tcp::TCPConnection > connection)=0
 

Constructor & Destructor Documentation

odcore::io::tcp::TCPAcceptorListener::~TCPAcceptorListener ( )
virtual

Member Function Documentation

virtual void odcore::io::tcp::TCPAcceptorListener::onNewConnection ( std::shared_ptr< odcore::io::tcp::TCPConnection connection)
pure virtual

This interface is invoked on newly accepted connections.

Parameters
connectionNewly established connection.

Referenced by odcore::wrapper::POSIX::POSIXTCPAcceptor::invokeAcceptorListener(), and odcore::wrapper::WIN32Impl::WIN32TCPAcceptor::invokeAcceptorListener().