Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
SecureListenSocket Class Reference

#include <SecureListenSocket.h>

Inheritance diagram for SecureListenSocket:
Collaboration diagram for SecureListenSocket:

Public Member Functions

 SecureListenSocket (IEventQueue *events, SocketMultiplexer *socketMultiplexer, IArchNetwork::AddressFamily family, SecurityLevel securityLevel=SecurityLevel::PlainText)
std::unique_ptr< IDataSocketaccept () override
 Accept connection.
Public Member Functions inherited from TCPListenSocket
 TCPListenSocket (IEventQueue *events, SocketMultiplexer *socketMultiplexer, IArchNetwork::AddressFamily family)
 TCPListenSocket (TCPListenSocket const &)=delete
 TCPListenSocket (TCPListenSocket &&)=delete
 ~TCPListenSocket () override
TCPListenSocketoperator= (TCPListenSocket const &)=delete
TCPListenSocketoperator= (TCPListenSocket &&)=delete
void bind (const NetworkAddress &) override
 Bind socket to address.
void close () override
 Close socket.
void * getEventTarget () const override
 Get event target.
std::unique_ptr< IDataSocketaccept () override
 Accept connection.
ISocketMultiplexerJobserviceListening (ISocketMultiplexerJob *, bool, bool, bool)
Public Member Functions inherited from IListenSocket
Public Member Functions inherited from ISocket
Public Member Functions inherited from IInterface
virtual ~IInterface ()=default
 Interface destructor does nothing.

Additional Inherited Members

Protected Member Functions inherited from TCPListenSocket
void setListeningJob ()
Protected Attributes inherited from TCPListenSocket
IEventQueuem_events
ArchSocket m_socket
SocketMultiplexerm_socketMultiplexer

Constructor & Destructor Documentation

◆ SecureListenSocket()

SecureListenSocket::SecureListenSocket ( IEventQueue * events,
SocketMultiplexer * socketMultiplexer,
IArchNetwork::AddressFamily family,
SecurityLevel securityLevel = SecurityLevel::PlainText )

Member Function Documentation

◆ accept()

std::unique_ptr< IDataSocket > SecureListenSocket::accept ( )
overridevirtual

Accept connection.

Accept a connection, returning a socket representing the full-duplex data stream. Returns nullptr if no socket is waiting to be accepted. This is only valid after a call to bind().

Implements IListenSocket.


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