#include "networkmessage.h"
Definition at line 51 of file networkmessage.h.
NetworkMessage::NetworkMessage |
( |
| ) |
|
NetworkMessage::~NetworkMessage |
( |
| ) |
|
|
virtual |
void NetworkMessage::allocBuffer |
( |
| ) |
|
|
inlineprivate |
void NetworkMessage::buildErrorMessage |
( |
const QString & |
error | ) |
|
QByteArray NetworkMessage::getFieldBytes |
( |
const QByteArray & |
key | ) |
const |
|
inline |
QString NetworkMessage::getFieldString |
( |
const QByteArray & |
key | ) |
const |
|
inline |
bool NetworkMessage::hasField |
( |
QByteArray & |
key | ) |
|
|
inline |
bool NetworkMessage::parseHeader |
( |
char * |
header | ) |
|
|
private |
bool NetworkMessage::parseMessage |
( |
char * |
buffer | ) |
|
|
private |
bool NetworkMessage::readComplete |
( |
| ) |
const |
|
inline |
int NetworkMessage::readMessage |
( |
QAbstractSocket * |
socket | ) |
|
int NetworkMessage::readMessage |
( |
char * |
data, |
|
|
quint32 |
len |
|
) |
| |
void NetworkMessage::reset |
( |
| ) |
|
|
inline |
void NetworkMessage::serializeMessage |
( |
| ) |
|
|
private |
void NetworkMessage::setField |
( |
const QByteArray & |
key, |
|
|
const QByteArray & |
value |
|
) |
| |
|
inline |
void NetworkMessage::setField |
( |
const QByteArray & |
key, |
|
|
const QString & |
value |
|
) |
| |
|
inline |
bool NetworkMessage::writeComplete |
( |
| ) |
const |
|
inline |
bool NetworkMessage::writeMessage |
( |
QAbstractSocket * |
socket | ) |
|
bool NetworkMessage::writeMessage |
( |
QUdpSocket * |
socket, |
|
|
const QHostAddress & |
address, |
|
|
quint16 |
port |
|
) |
| |
char* NetworkMessage::_buffer |
|
private |
quint32 NetworkMessage::_bufferPos |
|
private |
quint32 NetworkMessage::_bufferSize |
|
private |
QHash<QByteArray, QByteArray> NetworkMessage::_fields |
|
private |
quint32 NetworkMessage::_lastBufferSize |
|
private |
int NetworkMessage::_mode |
|
private |
The documentation for this class was generated from the following files: