SNode.C
Loading...
Searching...
No Matches
web::http::client::SocketContextUpgradeFactory Class Referenceabstract

#include <SocketContextUpgradeFactory.h>

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

Public Types

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

Public Member Functions

void checkRefCount () final
 
- Public Member Functions inherited from web::http::SocketContextUpgradeFactory< web::http::client::Request, web::http::client::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
 

Static Public Member Functions

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

Protected Member Functions

 SocketContextUpgradeFactory ()
 
virtual void prepare (Request &request)=0
 
- Protected Member Functions inherited from web::http::SocketContextUpgradeFactory< web::http::client::Request, web::http::client::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::client::Request, web::http::client::Response >
std::size_t refCount
 

Detailed Description

Definition at line 61 of file SocketContextUpgradeFactory.h.

Member Typedef Documentation

◆ Reponse

◆ Resquest

Constructor & Destructor Documentation

◆ SocketContextUpgradeFactory()

web::http::client::SocketContextUpgradeFactory::SocketContextUpgradeFactory ( )
protected

Definition at line 53 of file SocketContextUpgradeFactory.cpp.

53 {
54 }

Member Function Documentation

◆ checkRefCount()

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

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

Definition at line 56 of file SocketContextUpgradeFactory.cpp.

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

Referenced by web::websocket::client::SocketContextUpgradeFactory::create(), and web::http::client::Request::executeUpgrade().

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

◆ link()

void web::http::client::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::client::SocketContextUpgradeFactorySelector::instance(), and web::http::SocketContextUpgradeFactorySelector< SocketContextUpgradeFactoryT >::link().

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

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

◆ prepare()

virtual void web::http::client::SocketContextUpgradeFactory::prepare ( Request request)
protectedpure virtual

Implemented in web::websocket::client::SocketContextUpgradeFactory.

Referenced by web::http::client::SocketContextUpgradeFactorySelector::select().

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ SocketContextUpgradeFactorySelector

Definition at line 78 of file SocketContextUpgradeFactory.h.


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