SNode.C
Loading...
Searching...
No Matches
web::http::server::SocketContextUpgradeFactory Class Reference

#include <SocketContextUpgradeFactory.h>

Inheritance diagram for web::http::server::SocketContextUpgradeFactory:
Collaboration diagram for web::http::server::SocketContextUpgradeFactory:

Public Types

using Resquest = web::http::server::Request
using Reponse = web::http::server::Response
Public Types inherited from web::http::SocketContextUpgradeFactory< web::http::server::Request, web::http::server::Response >
using Request
using Response

Public Member Functions

void checkRefCount () final
Public Member Functions inherited from web::http::SocketContextUpgradeFactory< web::http::server::Request, web::http::server::Response >
virtual std::string name ()=0
Public Member Functions inherited from core::socket::stream::SocketContextFactory
 SocketContextFactory (SocketContextFactory &)=delete
 SocketContextFactory (SocketContextFactory &&)=delete
SocketContextFactoryoperator= (SocketContextFactory &)=delete
SocketContextFactoryoperator= (SocketContextFactory &&)=delete
virtual core::socket::stream::SocketContextcreate (core::socket::stream::SocketConnection *socketConnection)=0

Static Public Member Functions

static void link (const std::string &upgradeContextName, SocketContextUpgradeFactory *(*linkedPlugin)())

Protected Member Functions

 SocketContextUpgradeFactory ()
Protected Member Functions inherited from web::http::SocketContextUpgradeFactory< web::http::server::Request, web::http::server::Response >
 SocketContextUpgradeFactory ()=default
 ~SocketContextUpgradeFactory () override=default
void prepare (Request &request, Response &response)
Protected Member Functions inherited from core::socket::stream::SocketContextFactory
 SocketContextFactory ()=default
virtual ~SocketContextFactory ()

Friends

class SocketContextUpgradeFactorySelector

Additional Inherited Members

Protected Attributes inherited from web::http::SocketContextUpgradeFactory< web::http::server::Request, web::http::server::Response >
std::size_t refCount

Detailed Description

Definition at line 60 of file SocketContextUpgradeFactory.h.

Member Typedef Documentation

◆ Reponse

◆ Resquest

Constructor & Destructor Documentation

◆ SocketContextUpgradeFactory()

web::http::server::SocketContextUpgradeFactory::SocketContextUpgradeFactory ( )
protected

Definition at line 53 of file SocketContextUpgradeFactory.cpp.

53 {
54 }

Member Function Documentation

◆ checkRefCount()

void web::http::server::SocketContextUpgradeFactory::checkRefCount ( )
finalvirtual

Implements web::http::SocketContextUpgradeFactory< web::http::server::Request, web::http::server::Response >.

Definition at line 56 of file SocketContextUpgradeFactory.cpp.

References web::http::server::SocketContextUpgradeFactorySelector::instance(), and web::http::SocketContextUpgradeFactorySelector< SocketContextUpgradeFactoryT >::unload().

Referenced by web::websocket::server::SocketContextUpgradeFactory::create().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ link()

void web::http::server::SocketContextUpgradeFactory::link ( const std::string & upgradeContextName,
SocketContextUpgradeFactory *(* linkedPlugin )() )
static

Definition at line 62 of file SocketContextUpgradeFactory.cpp.

62 {
64 }
void link(const std::string &socketContextUpgradeName, SocketContextUpgradeFactory *(*linkedPlugin)())

References web::http::server::SocketContextUpgradeFactorySelector::instance(), and web::http::SocketContextUpgradeFactorySelector< SocketContextUpgradeFactoryT >::link().

Referenced by web::websocket::server::SocketContextUpgradeFactory::link().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SocketContextUpgradeFactorySelector

friend class SocketContextUpgradeFactorySelector
friend

Definition at line 74 of file SocketContextUpgradeFactory.h.


The documentation for this class was generated from the following files: