MeVisLab Toolbox Reference
|
Class template facilitating the definition of asio::Socket generators. More...
#include <SocketCreationSession.h>
Public Member Functions | |
template<typename Slot > | |
SignalConnection | observeConnectionEstablished (Slot &&slot) |
template<typename Slot > | |
SignalConnection | observeErrorOccured (Slot &&slot) |
template<typename Slot > | |
SignalConnection | observeAboutToBeDestroyed (Slot &&slot) |
~SocketCreationSession () | |
Static Public Member Functions | |
template<typename... Arguments> | |
static std::shared_ptr< SessionType > | create (Arguments &&... arguments) |
Protected Member Functions | |
void | emitConnectionEstablished (std::unique_ptr< Socket > socket) |
void | emitErrorOccured (const ErrorCode &ec) |
Class template facilitating the definition of asio::Socket generators.
This class template exists to avoid code duplication for different socket setups.
For more information have a look at asio::TcpConnectorSession, asio::TlsConnectorSession, asio::TcpAcceptorSession, asio::TlsAcceptorSession.
Definition at line 23 of file SocketCreationSession.h.
|
inline |
Definition at line 51 of file SocketCreationSession.h.
|
inlinestatic |
Definition at line 28 of file SocketCreationSession.h.
References mlrange_cast().
|
inlineprotected |
Definition at line 58 of file SocketCreationSession.h.
|
inlineprotected |
Definition at line 63 of file SocketCreationSession.h.
|
inline |
Definition at line 46 of file SocketCreationSession.h.
References mlrange_cast().
|
inline |
Definition at line 34 of file SocketCreationSession.h.
References mlrange_cast().
|
inline |
Definition at line 40 of file SocketCreationSession.h.
References mlrange_cast().