HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NET_ISocketListener Class Referenceabstract

#include <NET_SocketListener.h>

+ Inheritance diagram for NET_ISocketListener:

Public Member Functions

virtual ~NET_ISocketListener ()=default
 
virtual void close (bool force)=0
 
virtual bool isOpen () const =0
 

Protected Member Functions

 NET_ISocketListener (ASIO_IOContext &ctx)
 
 NET_ISocketListener (const ASIO_IOContext::executor_type &executor)
 
void fail (const hboost::system::error_code &ec, const char *what)
 Called when something failed with the socket listener. More...
 

Protected Attributes

NET_ISocketGroupmySocketGroup
 
ASIO_IOContext::executor_type myExecutor
 
NET_ConnectionManager myConnectionManager
 

Detailed Description

Definition at line 34 of file NET_SocketListener.h.

Constructor & Destructor Documentation

virtual NET_ISocketListener::~NET_ISocketListener ( )
virtualdefault
NET_ISocketListener::NET_ISocketListener ( ASIO_IOContext ctx)
inlineprotected

Definition at line 44 of file NET_SocketListener.h.

NET_ISocketListener::NET_ISocketListener ( const ASIO_IOContext::executor_type &  executor)
inlineprotected

Definition at line 47 of file NET_SocketListener.h.

Member Function Documentation

virtual void NET_ISocketListener::close ( bool  force)
pure virtual
void NET_ISocketListener::fail ( const hboost::system::error_code &  ec,
const char *  what 
)
protected

Called when something failed with the socket listener.

virtual bool NET_ISocketListener::isOpen ( ) const
pure virtual

Member Data Documentation

NET_ConnectionManager NET_ISocketListener::myConnectionManager
protected

Definition at line 57 of file NET_SocketListener.h.

ASIO_IOContext::executor_type NET_ISocketListener::myExecutor
protected

Definition at line 56 of file NET_SocketListener.h.

NET_ISocketGroup* NET_ISocketListener::mySocketGroup
protected

Definition at line 55 of file NET_SocketListener.h.


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