The base class for Applications to expose Gates. More...

#include <HyperspaceCore/Gate>

Inheritance diagram for Hyperspace::Gate:

Protected Member Functions

void assignWaveTarget (AbstractWaveTarget *target)
 Assigns an AbstractWaveTarget to this gate. More...
 
- Protected Member Functions inherited from Hemera::AsyncInitObject
void setParts (uint parts)
 

Additional Inherited Members

- Public Slots inherited from Hemera::AsyncInitObject
Hemera::Operationinit ()
 
- Signals inherited from Hemera::AsyncInitObject
void ready ()
 
- Protected Slots inherited from Hemera::AsyncInitObject
virtual void initImpl ()=0
 
void setReady ()
 
void setInitError (const QString &errorName, const QString &message=QString())
 
void setOnePartIsReady ()
 

Detailed Description

The base class for Applications to expose Gates.

Gate is the most basic method for applications to create Gates over Hyperspace. It is rarely used: most of the times you'll want one of the higher level alternatives contained in other Hyperspace modules instead.

This implementation of Gate does not do anything to register Wave targets onto Gates. If you wish to use a Gate with different semantics than REST or SOAP, you should reimplement Gate and define your own semantics for registering Wave Targets. This is done due to the fact that different Gates have very different semantics for registering Wave Targets.

See also
Hyperspace::AbstractWaveTarget

Member Function Documentation

void Hyperspace::Gate::assignWaveTarget ( AbstractWaveTarget target)
protected

Assigns an AbstractWaveTarget to this gate.

Note
If the Wave Target already has an associated Gate, this procedure will attempt to overwrite the assignment. This, though, might lead to an undefined behavior. Never try assigning a Wave Target to more than one gate!

target The Wave Target to assign to this gate.