|
| | Ping () |
| | Ping (const Package &from) |
| bool | isValid () const override |
| | isValid - Check this package if valid.
|
| bool | ansver () const |
| | answer This is bool value for check this object that it is answer or request. Using on tests.
|
| void | setAnsver (bool ansver) |
| | setAnsver - Set the answer option.
|
| | ~AbstractData () override |
| virtual unsigned short | cmd () const =0 |
| | cmd - This is command of this object, (for generate cmd use macross QH_PACKAGE)
|
| virtual QString | cmdString () const =0 |
| | cmdString - This is command string of this object, (for generate cmd use macross QH_PACKAGE)
|
| virtual bool | toPackage (Package &package, const DistVersion &reqVersion, unsigned int triggerHash=0) const |
| | toPackage This method convert this class object to the package. For more info see Package class.
|
| bool | isValid () const override |
| | isValid This method check current object to valid.
|
| QString | toString () const override |
| | toString - Return a string implementation for this object.
|
| template<class C, class... Args> |
| C * | create (Args &&... args) const |
| | create - This is factory method for create a new object.
|
| void | fromPakcage (const Package &pkg) |
| | fromPakcage - This method initialize the current object from a package class object.
|
| | StreamBase () |
| virtual | ~StreamBase () |
| bool | fromBytes (const QByteArray &dataz) |
| | fromBytes This method provide initialization of object from byte array.
|
| QByteArray | toBytes () const |
| | toBytes This method convert a current object to bytes array.
|
| bool | fromBase64 (const QString &data) |
| | fromBase64 This method provide initialization of object from the base64 string.
|
| bool | fromBase64 (const QByteArray &data) |
| | fromBase64 This method provide initialization of object from the base64 string.
|
| QByteArray | toBase64 () const |
| | toBase64 This method convert a current object to the base64 string.
|
| template<class T> |
| T & | copy (const StreamBase &right) |
| | copy This is base copy method for all StreamBase structures. Default implementation it is copy from byteArray.
|
| template<class T> |
| bool | compare (const T &right) |
| | compare This method compare array signatures of this and right objects.
|
The Ping class - test class for translate data on network.
Definition at line 21 of file ping.h.