|
SNode.C
|
#include <SocketContextUpgradeFactory.h>
Public Types | |
| using | Request = RequestT |
| using | Response = ResponseT |
Public Member Functions | |
| virtual std::string | name ()=0 |
Public Member Functions inherited from core::socket::stream::SocketContextFactory | |
| 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) |
Protected Member Functions inherited from core::socket::stream::SocketContextFactory | |
| 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 68 of file SocketContextUpgradeFactory.h.
| using web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::Request = RequestT |
Definition at line 70 of file SocketContextUpgradeFactory.h.
| using web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::Response = ResponseT |
Definition at line 71 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 58 of file SocketContextUpgradeFactory.hpp.
References web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::request, and web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::response.
Referenced by web::http::server::Response::upgrade(), and web::http::client::Request::upgrade().
|
privatepure virtual |
|
private |
Definition at line 68 of file SocketContextUpgradeFactory.hpp.
References web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::checkRefCount(), and web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::refCount.
|
private |
Definition at line 63 of file SocketContextUpgradeFactory.hpp.
References web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::refCount.
|
pure virtual |
Implemented in web::websocket::client::SocketContextUpgradeFactory, and web::websocket::server::SocketContextUpgradeFactory.
Referenced by web::http::client::MasterRequest::executeUpgrade(), web::http::server::Response::upgrade(), and web::http::client::Request::upgrade().
|
protected |
Definition at line 51 of file SocketContextUpgradeFactory.hpp.
References web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::request, and web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::response.
Referenced by web::http::client::SocketContextUpgradeFactorySelector::select(), and web::http::server::SocketContextUpgradeFactorySelector::select().
|
friend |
Definition at line 99 of file SocketContextUpgradeFactory.h.
|
protected |
Definition at line 81 of file SocketContextUpgradeFactory.h.
Referenced by web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::decRefCount(), and web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::incRefCount().
|
private |
Definition at line 95 of file SocketContextUpgradeFactory.h.
Referenced by web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::create(), and web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::prepare().
|
private |
Definition at line 99 of file SocketContextUpgradeFactory.h.
|
private |
Definition at line 96 of file SocketContextUpgradeFactory.h.
Referenced by web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::create(), and web::http::SocketContextUpgradeFactory< RequestT, ResponseT >::prepare().
|
private |
Definition at line 98 of file SocketContextUpgradeFactory.h.