EHS
NetOp.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
ehs/Str.h
"
4
#include "
ehs/Serializer.h
"
5
6
namespace
ehs
7
{
8
class
NetChannel;
9
class
NetSys;
10
class
NetEnd;
11
12
class
NetOp
13
{
14
private
:
15
friend
class
NetSys
;
16
17
UInt_64 id;
18
Str_8
name;
19
20
public
:
21
virtual
~NetOp
() =
default
;
22
23
NetOp
();
24
25
NetOp
(
Str_8
name);
26
27
NetOp
(
NetOp
&&op)
noexcept
;
28
29
NetOp
(
const
NetOp
&op);
30
31
NetOp
&
operator=
(
NetOp
&&op)
noexcept
;
32
33
NetOp
&
operator=
(
const
NetOp
&op);
34
35
UInt_64
GetId
()
const
;
36
37
Str_8
GetName
()
const
;
38
39
private
:
40
virtual
void
Execute(
NetChannel
*channel,
NetEnd
*issuer,
NetSys
*sys,
Serializer<UInt_64>
&payload);
41
};
42
}
Serializer.h
Str.h
ehs::NetChannel
Definition:
NetChannel.h:15
ehs::NetEnd
Definition:
NetEnd.h:16
ehs::NetOp
Definition:
NetOp.h:13
ehs::NetOp::NetOp
NetOp()
Definition:
NetOp.cpp:7
ehs::NetOp::GetId
UInt_64 GetId() const
Definition:
NetOp.cpp:52
ehs::NetOp::GetName
Str_8 GetName() const
Definition:
NetOp.cpp:57
ehs::NetOp::operator=
NetOp & operator=(NetOp &&op) noexcept
Definition:
NetOp.cpp:28
ehs::NetOp::~NetOp
virtual ~NetOp()=default
ehs::NetSys
Definition:
NetSys.h:14
ehs::Serializer< UInt_64 >
ehs::Str< Char_8, UInt_64 >
ehs
Definition:
Anchor.h:6
include
ehs
io
socket
ehc
NetOp.h
Generated by
1.9.4