Samchon Framework for CPP
1.0.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
ClientDriver.hpp
1
#pragma once
2
#include <samchon/API.hpp>
3
4
#include <samchon/protocol/Communicator.hpp>
5
6
namespace
samchon
7
{
8
namespace
protocol
9
{
10
class
Server;
11
37
class
ClientDriver
38
:
public
virtual
Communicator
39
{
40
public
:
41
ClientDriver
(std::shared_ptr<boost::asio::ip::tcp::socket> socket)
42
:
Communicator
()
43
{
44
this->socket = socket;
45
};
46
virtual
~
ClientDriver
() =
default
;
47
58
void
listen
(
IProtocol
*listener)
59
{
60
this->listener = listener;
61
62
listen_message();
63
};
64
};
65
};
66
};
samchon::protocol::Communicator
Definition:
Communicator.hpp:40
samchon::protocol::ClientDriver
Definition:
ClientDriver.hpp:37
samchon::protocol::IProtocol
Definition:
IProtocol.hpp:26
samchon::protocol::ClientDriver::listen
void listen(IProtocol *listener)
Definition:
ClientDriver.hpp:58
samchon
Definition:
ByteArray.hpp:6
cpp
samchon
protocol
ClientDriver.hpp
Generated by
1.8.11