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

#include <EchoSocketContext.h>

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

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 77 of file EchoSocketContext.h.

Member Function Documentation

◆ create()

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

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

Definition at line 88 of file EchoSocketContext.cpp.

88 {
89 return new EchoSocketContext(socketConnection, EchoSocketContext::Role::SERVER);
90 }

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

Here is the call graph for this function:

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