SNode.C
Loading...
Searching...
No Matches
apps::echo::model::EchoClientSocketContextFactory Class Reference

#include <EchoSocketContext.h>

Inheritance diagram for apps::echo::model::EchoClientSocketContextFactory:
Collaboration diagram for apps::echo::model::EchoClientSocketContextFactory:

Private Member Functions

core::socket::stream::SocketContextcreate (core::socket::stream::SocketConnection *socketConnection) override
 

Additional Inherited Members

- Public Member Functions inherited from core::socket::stream::SocketContextFactory
 SocketContextFactory (SocketContextFactory &)=delete
 
 SocketContextFactory (SocketContextFactory &&)=delete
 
SocketContextFactoryoperator= (SocketContextFactory &)=delete
 
SocketContextFactoryoperator= (SocketContextFactory &&)=delete
 
- Protected Member Functions inherited from core::socket::stream::SocketContextFactory
 SocketContextFactory ()=default
 
virtual ~SocketContextFactory ()
 

Detailed Description

Definition at line 82 of file EchoSocketContext.h.

Member Function Documentation

◆ create()

core::socket::stream::SocketContext * apps::echo::model::EchoClientSocketContextFactory::create ( core::socket::stream::SocketConnection socketConnection)
overrideprivatevirtual

Implements core::socket::stream::SocketContextFactory.

Definition at line 92 of file EchoSocketContext.cpp.

92 {
93 return new EchoSocketContext(socketConnection, EchoSocketContext::Role::CLIENT);
94 }

References apps::echo::model::EchoSocketContext::CLIENT, and apps::echo::model::EchoSocketContext::EchoSocketContext().

Here is the call graph for this function:

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