#include "MessageBuffer.h"
◆ size_type
◆ MessageBuffer() [1/4]
MessageBuffer::MessageBuffer |
( |
| ) |
|
|
inline |
31 {
33 }
std::vector< uint8 > _storage
Definition: MessageBuffer.h:137
References _storage.
◆ MessageBuffer() [2/4]
MessageBuffer::MessageBuffer |
( |
std::size_t |
initialSize | ) |
|
|
inlineexplicit |
36 {
38 }
size_type _rpos
Definition: MessageBuffer.h:136
size_type _wpos
Definition: MessageBuffer.h:135
References _storage.
◆ MessageBuffer() [3/4]
◆ MessageBuffer() [4/4]
43 :
std::vector< uint8 > && Move()
Definition: MessageBuffer.h:102
◆ EnsureFreeSpace()
void MessageBuffer::EnsureFreeSpace |
( |
| ) |
|
|
inline |
◆ GetActiveSize()
size_type MessageBuffer::GetActiveSize |
( |
| ) |
const |
|
inline |
◆ GetBasePointer()
uint8 * MessageBuffer::GetBasePointer |
( |
| ) |
|
|
inline |
◆ GetBufferSize()
size_type MessageBuffer::GetBufferSize |
( |
| ) |
const |
|
inline |
◆ GetReadPointer()
uint8 * MessageBuffer::GetReadPointer |
( |
| ) |
|
|
inline |
uint8 * GetBasePointer()
Definition: MessageBuffer.h:57
References _rpos, and GetBasePointer().
Referenced by Socket< T >::AsyncProcessQueue(), AuthSession::HandleLogonChallenge(), AuthSession::HandleLogonProof(), Socket< T >::HandleQueue(), AuthSession::HandleReconnectChallenge(), AuthSession::HandleReconnectProof(), Normalize(), Socket< T >::ProxyReadHeaderHandler(), WorldSocket::ReadDataHandler(), AuthSession::ReadHandler(), WorldSocket::ReadHandler(), and WorldSocket::ReadHeaderHandler().
◆ GetRemainingSpace()
size_type MessageBuffer::GetRemainingSpace |
( |
| ) |
const |
|
inline |
◆ GetWritePointer()
uint8 * MessageBuffer::GetWritePointer |
( |
| ) |
|
|
inline |
◆ Move()
std::vector< uint8 > && MessageBuffer::Move |
( |
| ) |
|
|
inline |
◆ Normalize()
void MessageBuffer::Normalize |
( |
| ) |
|
|
inline |
◆ operator=() [1/2]
123 {
124 if (this != &right)
125 {
129 }
130
131 return *this;
132 }
References _rpos, _storage, and _wpos.
◆ operator=() [2/2]
111 {
112 if (this != &right)
113 {
117 }
118
119 return *this;
120 }
References _rpos, _storage, and _wpos.
◆ ReadCompleted()
void MessageBuffer::ReadCompleted |
( |
size_type |
bytes | ) |
|
|
inline |
◆ Reset()
void MessageBuffer::Reset |
( |
| ) |
|
|
inline |
◆ Resize()
void MessageBuffer::Resize |
( |
size_type |
bytes | ) |
|
|
inline |
◆ Write()
void MessageBuffer::Write |
( |
void const * |
data, |
|
|
std::size_t |
size |
|
) |
| |
|
inline |
◆ WriteCompleted()
void MessageBuffer::WriteCompleted |
( |
size_type |
bytes | ) |
|
|
inline |
◆ _rpos
◆ _storage
std::vector<uint8> MessageBuffer::_storage |
|
private |
◆ _wpos