Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
ISocketFactory Class Referenceabstract

Socket factory. More...

#include <ISocketFactory.h>

Inheritance diagram for ISocketFactory:
Collaboration diagram for ISocketFactory:

Public Member Functions

accessors
virtual IDataSocketcreate (IArchNetwork::AddressFamily family=IArchNetwork::AddressFamily::INet, SecurityLevel securityLevel=SecurityLevel::PlainText) const =0
 Create data socket.
virtual IListenSocketcreateListen (IArchNetwork::AddressFamily family=IArchNetwork::AddressFamily::INet, SecurityLevel securityLevel=SecurityLevel::PlainText) const =0
 Create listen socket.
Public Member Functions inherited from IInterface
virtual ~IInterface ()=default
 Interface destructor does nothing.

Detailed Description

Socket factory.

This interface defines the methods common to all factories used to create sockets.

Member Function Documentation

◆ create()

virtual IDataSocket * ISocketFactory::create ( IArchNetwork::AddressFamily family = IArchNetwork::AddressFamily::INet,
SecurityLevel securityLevel = SecurityLevel::PlainText ) const
pure virtual

Create data socket.

Implemented in TCPSocketFactory.

◆ createListen()

virtual IListenSocket * ISocketFactory::createListen ( IArchNetwork::AddressFamily family = IArchNetwork::AddressFamily::INet,
SecurityLevel securityLevel = SecurityLevel::PlainText ) const
pure virtual

Create listen socket.

Implemented in TCPSocketFactory.


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