2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
42#include "core/socket/stream/SocketConnection.hpp"
43#include "core/socket/stream/legacy/SocketConnection.h"
45#ifndef DOXYGEN_SHOULD_SKIP_THIS
53 template <
typename PhysicalSocket,
typename Config>
54 SocketConnection<PhysicalSocket, Config>::
SocketConnection(PhysicalSocket&& physicalSocket,
55 const std::function<
void(SocketConnection*)>& onDisconnect,
56 const std::shared_ptr<Config>& config)
58 std::move(physicalSocket),
59 [onDisconnect,
this]() {
Config & getConfig() const
std::shared_ptr< Config > config
Socket(const std::string &name)
SocketConnection(PhysicalSocket &&physicalSocket, const std::function< void(SocketConnection *)> &onDisconnect, const std::shared_ptr< Config > &config)