-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathtest_protocol.cpp
More file actions
62 lines (46 loc) · 1.22 KB
/
test_protocol.cpp
File metadata and controls
62 lines (46 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
//------------------------------------------------------------------------------
// Automatically generated by the Fast Binary Encoding compiler, do not modify!
// https://github.com/chronoxor/FastBinaryEncoding
// Source: test.fbe
// FBE version: 1.15.0.0
//------------------------------------------------------------------------------
#if defined(_MSC_VER)
#pragma warning(push)
#pragma warning(disable:4065) // C4065: switch statement contains 'default' but no 'case' labels
#endif
#include "test_protocol.h"
namespace FBE {
namespace test {
bool Receiver::onReceive(size_t type, const void* data, size_t size)
{
switch (type)
{
default: break;
}
if (proto::Receiver::onReceive(type, data, size))
return true;
return false;
}
bool Proxy::onReceive(size_t type, const void* data, size_t size)
{
switch (type)
{
default: break;
}
if (proto::Proxy::onReceive(type, data, size))
return true;
return false;
}
void Client::reset_requests()
{
proto::Client::reset_requests();
}
void Client::watchdog_requests(uint64_t utc)
{
proto::Client::watchdog_requests(utc);
}
} // namespace test
} // namespace FBE
#if defined(_MSC_VER)
#pragma warning(pop)
#endif