#include <network.hpp>
Definition at line 99 of file network.hpp.
◆ Packet() [1/3]
Eng3D::Networking::Packet::Packet |
( |
| ) |
|
|
default |
◆ Packet() [2/3]
Eng3D::Networking::Packet::Packet |
( |
int |
_fd | ) |
|
|
inline |
◆ Packet() [3/3]
Eng3D::Networking::Packet::Packet |
( |
int |
_fd, |
|
|
const void * |
buf, |
|
|
size_t |
size |
|
) |
| |
|
inline |
◆ ~Packet()
Eng3D::Networking::Packet::~Packet |
( |
| ) |
|
|
default |
◆ data() [1/2]
void* Eng3D::Networking::Packet::data |
( |
| ) |
|
|
inline |
◆ data() [2/2]
template<typename T >
void Eng3D::Networking::Packet::data |
( |
const T * |
buf = nullptr , |
|
|
size_t |
size = sizeof(T) |
|
) |
| |
|
inline |
◆ is_ok()
bool Eng3D::Networking::Packet::is_ok |
( |
| ) |
const |
|
inline |
◆ recv()
bool Eng3D::Networking::Packet::recv |
( |
| ) |
|
◆ send()
bool Eng3D::Networking::Packet::send |
( |
| ) |
|
◆ size()
size_t Eng3D::Networking::Packet::size |
( |
| ) |
const |
|
inline |
◆ buffer
std::vector<uint8_t> Eng3D::Networking::Packet::buffer |
◆ pred
std::function<bool()> Eng3D::Networking::Packet::pred |
◆ stream
The documentation for this class was generated from the following files: