GammaRay
2.2.0
|
Helper functions and constants defining the communication protocol between client and server. More...
Typedefs | |
typedef quint8 | MessageType |
typedef QVector< QPair< qint32, qint32 > > | ModelIndex |
typedef quint8 | ObjectAddress |
typedef qint32 | PayloadSize |
Functions | |
qint32 | broadcastFormatVersion () |
ModelIndex | fromQModelIndex (const QModelIndex &index) |
QModelIndex | toQModelIndex (const QAbstractItemModel *model, const ModelIndex &index) |
qint32 | version () |
Variables | |
static const MessageType | InvalidMessageType = 0 |
static const ObjectAddress | InvalidObjectAddress = 0 |
static const ObjectAddress | LauncherAddress = 255 |
Helper functions and constants defining the communication protocol between client and server.
qint32 GammaRay::Protocol::broadcastFormatVersion | ( | ) |
Broadcast format version.
ModelIndex GammaRay::Protocol::fromQModelIndex | ( | const QModelIndex & | index | ) |
Serializes a QModelIndex.
QModelIndex GammaRay::Protocol::toQModelIndex | ( | const QAbstractItemModel * | model, |
const ModelIndex & | index | ||
) |
Deserializes a QModelIndex.
qint32 GammaRay::Protocol::version | ( | ) |
Protocol version, must match exactly between client and server.