class Poco::Net::HTTPServerConnectionFactory
Overview
This implementation of a TCPServerConnectionFactory is used by HTTPServer to create HTTPServerConnection objects. Moreā¦
#include <HTTPServerConnectionFactory.h> class HTTPServerConnectionFactory: public Poco::Net::TCPServerConnectionFactory { public: // construction HTTPServerConnectionFactory( HTTPServerParams::Ptr pParams, HTTPRequestHandlerFactory::Ptr pFactory ); // methods virtual TCPServerConnection* createConnection(const StreamSocket& socket); };
Inherited Members
public: // typedefs typedef Poco::SharedPtr<TCPServerConnectionFactory> Ptr; // methods virtual TCPServerConnection* createConnection(const StreamSocket& socket) = 0;
Detailed Documentation
This implementation of a TCPServerConnectionFactory is used by HTTPServer to create HTTPServerConnection objects.
Construction
HTTPServerConnectionFactory( HTTPServerParams::Ptr pParams, HTTPRequestHandlerFactory::Ptr pFactory )
Creates the HTTPServerConnectionFactory.
Methods
virtual TCPServerConnection* createConnection(const StreamSocket& socket)
Creates an instance of HTTPServerConnection using the given StreamSocket.