The base class data structure for Waves. More...

#include <HyperspaceCore/Global>

Public Member Functions

 Wave ()
 Creates an empty wave with a new unique UUID. More...
 
QByteArray id () const
 

Public Attributes

QByteArray method
 The wave's method, as a string. More...
 
QByteArray target
 The wave's target, as a full absolute path. More...
 
ByteArrayHash attributes
 The wave's attributes. More...
 
QByteArray payload
 The wave's payload. More...
 

Detailed Description

The base class data structure for Waves.

Wave is the base data structure which is used for representing and serializing waves. It encloses every Wave field, and is easily serializable and deserializable through Data Streams.

See also
Hyperspace::Rebound

Constructor & Destructor Documentation

Hyperspace::Wave::Wave ( )

Creates an empty wave with a new unique UUID.

Member Function Documentation

QByteArray Hyperspace::Wave::id ( ) const
inline
Returns
The wave's id.

Member Data Documentation

QByteArray Hyperspace::Wave::method

The wave's method, as a string.

QByteArray Hyperspace::Wave::target

The wave's target, as a full absolute path.

ByteArrayHash Hyperspace::Wave::attributes

The wave's attributes.

QByteArray Hyperspace::Wave::payload

The wave's payload.