SNode.C
|
#include <SocketContextUpgradeFactory.h>
Public Types | |
using | Request = RequestT |
using | Response = ResponseT |
Public Member Functions | |
virtual std::string | name ()=0 |
![]() | |
SocketContextFactory (SocketContextFactory &)=delete | |
SocketContextFactory (SocketContextFactory &&)=delete | |
SocketContextFactory & | operator= (SocketContextFactory &)=delete |
SocketContextFactory & | operator= (SocketContextFactory &&)=delete |
Protected Member Functions | |
SocketContextUpgradeFactory ()=default | |
~SocketContextUpgradeFactory () override=default | |
void | prepare (Request &request, Response &response) |
![]() | |
SocketContextFactory ()=default | |
virtual | ~SocketContextFactory () |
Protected Attributes | |
std::size_t | refCount = 0 |
Private Member Functions | |
virtual SocketContextUpgrade< Request, Response > * | create (core::socket::stream::SocketConnection *socketConnection, Request *request, Response *response)=0 |
core::socket::stream::SocketContext * | create (core::socket::stream::SocketConnection *socketConnection) final |
void | incRefCount () |
void | decRefCount () |
virtual void | checkRefCount ()=0 |
Private Attributes | |
Request * | request = nullptr |
Response * | response = nullptr |
friend | Response |
friend | Request |
Friends | |
class | SocketContextUpgrade< Request, Response > |
Definition at line 32 of file SocketContextUpgrade.h.
using web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::Request = RequestT |
Definition at line 48 of file SocketContextUpgradeFactory.h.
using web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::Response = ResponseT |
Definition at line 49 of file SocketContextUpgradeFactory.h.
|
protecteddefault |
|
overrideprotecteddefault |
|
privatepure virtual |
Implemented in web::http::client::SocketContextUpgradeFactory, and web::http::server::SocketContextUpgradeFactory.
Referenced by web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::decRefCount().
|
finalprivatevirtual |
Implements core::socket::stream::SocketContextFactory.
Definition at line 36 of file SocketContextUpgradeFactory.hpp.
References web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::request, and web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::response.
|
privatepure virtual |
|
private |
Definition at line 46 of file SocketContextUpgradeFactory.hpp.
References web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::checkRefCount(), and web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::refCount.
|
private |
Definition at line 41 of file SocketContextUpgradeFactory.hpp.
References web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::refCount.
|
pure virtual |
|
protected |
|
friend |
Definition at line 77 of file SocketContextUpgradeFactory.h.
|
protected |
Definition at line 59 of file SocketContextUpgradeFactory.h.
Referenced by web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::decRefCount(), and web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::incRefCount().
|
private |
Definition at line 77 of file SocketContextUpgradeFactory.h.
|
private |
Definition at line 73 of file SocketContextUpgradeFactory.h.
Referenced by web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::create().
|
private |
Definition at line 76 of file SocketContextUpgradeFactory.h.
|
private |
Definition at line 74 of file SocketContextUpgradeFactory.h.
Referenced by web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::create().