ConnectionHandler.hpp

This File On Github
Ask A Question

API: latest
module: oatpp
#include "oatpp/network/server/ConnectionHandler.hpp"

ConnectionHandler

Abstract ConnectionHandler.

namespace oatpp { namespace network { namespace server { 
  class ConnectionHandler {}
}}}

Methods

Return Type Name Summary
[none] ~ConnectionHandler Virtual Destructor.
void handleConnection Handle provided connection here
void stop Stop all threads here

ConnectionHandler::~ConnectionHandler

Virtual Destructor.

virtual ~ConnectionHandler() = default

ConnectionHandler::handleConnection

Handle provided connection here

virtual void handleConnection(const std::shared_ptr<oatpp::data::stream::IOStream>& connection) = 0

ConnectionHandler::stop

Stop all threads here

virtual void stop() = 0