#include <SocketServer.h>
Public Member Functions | |
| const Super & | listen (const std::string &sunPath, const std::function< void(const SocketAddress &, core::socket::State)> &onStatus) const |
| const Super & | listen (const std::string &sunPath, int backlog, const std::function< void(const SocketAddress &, core::socket::State)> &onStatus) const |
| Public Member Functions inherited from core::socket::stream::SocketServer< SocketAcceptorT< net::un::phy::stream::PhysicalSocketServer, ConfigSocketServerT >, SocketContextFactoryT, Args... > | |
| const SocketServer & | listen (const std::function< void(const SocketAddress &, core::socket::State)> &onStatus) const |
| std::function< void(SocketConnection *)> & | getOnConnect () const |
| const SocketServer & | setOnConnect (const std::function< void(SocketConnection *)> &onConnect, bool initialize=false) const |
| std::function< void(SocketConnection *)> & | getOnConnected () const |
| const SocketServer & | setOnConnected (const std::function< void(SocketConnection *)> &onConnected, bool initialize=false) const |
| std::function< void(SocketConnection *)> & | getOnDisconnect () const |
| SocketServer & | setOnDisconnect (const std::function< void(SocketConnection *)> &onDisconnect, bool initialize=false) |
| std::shared_ptr< SocketContextFactory > | getSocketContextFactory () const |
| Public Member Functions inherited from core::socket::Socket< SocketAcceptorT::Config > | |
| Socket (const std::string &name) | |
| virtual | ~Socket () |
| Config & | getConfig () const |
Private Types | |
| using | Super |
Additional Inherited Members | |
| Public Types inherited from core::socket::stream::SocketServer< SocketAcceptorT< net::un::phy::stream::PhysicalSocketServer, ConfigSocketServerT >, SocketContextFactoryT, Args... > | |
| using | SocketConnection |
| using | SocketAddress |
| using | Config |
| Public Types inherited from core::socket::Socket< SocketAcceptorT::Config > | |
| using | Config |
| Protected Member Functions inherited from core::socket::Socket< SocketAcceptorT::Config > | |
| Socket & | operator= (const Socket &)=default |
| Protected Attributes inherited from core::socket::Socket< SocketAcceptorT::Config > | |
| std::shared_ptr< Config > | config |
Definition at line 62 of file SocketServer.h.
|
private |
Definition at line 67 of file SocketServer.h.
|
inline |
Definition at line 75 of file SocketServer.h.
|
inline |
Definition at line 82 of file SocketServer.h.