SNode.C
Loading...
Searching...
No Matches
apps::websocket::subprotocol::echo::client::EchoFactory Class Reference

#include <EchoFactory.h>

Inheritance diagram for apps::websocket::subprotocol::echo::client::EchoFactory:
Collaboration diagram for apps::websocket::subprotocol::echo::client::EchoFactory:

Private Member Functions

Echocreate (web::websocket::SubProtocolContext *subProtocolContext) override

Additional Inherited Members

Public Types inherited from web::websocket::SubProtocolFactory< Echo >
using SubProtocol
Public Member Functions inherited from web::websocket::SubProtocolFactory< Echo >
 SubProtocolFactory ()=delete
SubProtocolFactoryoperator= (SubProtocolFactory &)=delete
virtual ~SubProtocolFactory ()=default
SubProtocolcreateSubProtocol (SubProtocolContext *subProtocolContext)
virtual std::size_t deleteSubProtocol (SubProtocol *subProtocol)
const std::string & getName ()
void setHandle (void *handle)
void * getHandle ()

Detailed Description

Definition at line 59 of file EchoFactory.h.

Member Function Documentation

◆ create()

Echo * apps::websocket::subprotocol::echo::client::EchoFactory::create ( web::websocket::SubProtocolContext * subProtocolContext)
overrideprivatevirtual

Implements web::websocket::SubProtocolFactory< Echo >.

Definition at line 54 of file EchoFactory.cpp.

54 {
55 return new Echo(subProtocolContext, getName());
56 }

References apps::websocket::subprotocol::echo::client::Echo::Echo(), and web::websocket::SubProtocolFactory< SubProtocolT >::getName().

Here is the call graph for this function:

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