Samchon Framework for CPP
1.0.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
ChatService.hpp
1
#pragma once
2
#include <samchon/protocol/service/Service.hpp>
3
4
namespace
samchon
5
{
6
namespace
example
7
{
8
namespace
chat_service
9
{
10
class
ChatRoom;
11
22
class
ChatService
23
:
public
protocol::service::Service
24
{
25
private
:
26
typedef
protocol::service::Service super;
27
32
ChatRoom
*
room
;
33
34
public
:
38
ChatService
(protocol::service::Client*);
39
virtual
~
ChatService
();
40
41
virtual
void
replyData(std::shared_ptr<protocol::Invoke>)
override
;
42
};
43
};
44
};
45
};
samchon::example::chat_service::ChatService::ChatService
ChatService(protocol::service::Client *)
Construct from a client.
samchon::example::chat_service::ChatRoom
A chat room.
Definition:
ChatRoom.hpp:33
samchon::example::chat_service::ChatService::room
ChatRoom * room
A chat room.
Definition:
ChatService.hpp:32
samchon::example::chat_service::ChatService
A chat service.
Definition:
ChatService.hpp:22
samchon
Definition:
ByteArray.hpp:6
cpp
samchon
examples
chat_service.bak
ChatService.hpp
Generated by
1.8.11