HDK
|
#include <NET_SocketGroup.h>
Public Member Functions | |
virtual | ~NET_ISocketGroup () |
const UT_StringHolder & | name () const |
The id of the socket group. More... | |
virtual void | requestFullShutdown ()=0 |
Request that the server shutdown immediatelly and all connections be closed regardless if the connection has things to process. More... | |
virtual void | requestGracefulShutdown ()=0 |
Request the server shutdown slowly and allow all connections to be closed after they have processed whatever it is they need to. More... | |
Protected Types | |
using | creator_group_t = UT_SharedPtr< NET_ISocketGroup >(*)(const UT_StringHolder &) |
Protected Member Functions | |
NET_ISocketGroup (const UT_StringHolder &name) | |
virtual void | handleExit (const UT_SharedPtr< NET_ISocketGroup > &me) |
Static Protected Member Functions | |
static UT_SharedPtr < NET_ISocketGroup > | newSocketGroup (const UT_StringHolder &name, creator_group_t creator) |
static UT_SharedPtr < NET_ISocketGroup > | findSocketGroup (const UT_StringRef &name) |
static void | shutdownAll () |
Friends | |
class | net_SocketGroupRegistry |
class | NET_SubSystem |
Interface for grouping sockets together. Typical use case is for web servers where theres a group of server listener sockets.
Definition at line 25 of file NET_SocketGroup.h.
|
protected |
Definition at line 44 of file NET_SocketGroup.h.
|
virtual |
|
protected |
|
staticprotected |
|
inlineprotectedvirtual |
Definition at line 55 of file NET_SocketGroup.h.
|
inline |
The id of the socket group.
Definition at line 33 of file NET_SocketGroup.h.
|
staticprotected |
|
pure virtual |
Request that the server shutdown immediatelly and all connections be closed regardless if the connection has things to process.
|
pure virtual |
Request the server shutdown slowly and allow all connections to be closed after they have processed whatever it is they need to.
|
staticprotected |
|
friend |
Definition at line 58 of file NET_SocketGroup.h.
|
friend |
Definition at line 59 of file NET_SocketGroup.h.