8#ifndef ABSTRACTPACKAGE_H
9#define ABSTRACTPACKAGE_H
43 virtual bool isValid()
const;
54 QString toString()
const;
60 unsigned int calcHash()
const;
66 static unsigned int maximumSize();
70 QDataStream &fromStream(QDataStream &stream)
override;
71 QDataStream &toStream(QDataStream &stream)
const override;
The Package struct. This is base structure for transporting data by network between QH nodes....
QByteArray data
data This is source data of package.
Header hdr
hdr This is header of package. For more information see the Header struct.
virtual ~Package()=default
The StreamBase class add support streaming data for all children classes. For correctly working all s...
#define HEARTSHARED_EXPORT
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...