stec-platform
ADI::AutoQTcpSubClient Class Reference

The AutoQTcpSubClient class. More...

#include <autoqtcpsubclient.h>

Inheritance diagram for ADI::AutoQTcpSubClient:
Collaboration diagram for ADI::AutoQTcpSubClient:

Public Slots

void SlotNamedEventOccured (QString name, qint16 index, qint16 count, QVariant src)
 this slot is fired when data from a consumer changes, it will proceed to request the owner at the daemon end change it data to these values
 
void SlotNewLocalName (QString)
 consumer names come here and are processed, if the consumer has an owner in the distant daemon, it is processes.. else it is save and should the distant end ever produce this owned the connection is made.
 
void SlotLostLocaleName (QString)
 when a consumer is lost ...the distant owner is told so traffic on the network is reduced because intrests in that owner is no longer.
 
void SlotNewRemoteName (QString)
 if we own something, but do not posses the ability to act as a daemon we can tell another to be a proxy for our ownership.
 
void SlotLostRemoteName (QString)
 removes any proxys because our ounership has gone away, thus reducing network traffic.
 

Public Member Functions

 AutoQTcpSubClient (QString Key, AutoQTcpDistribution *Platform, QObject *parent=nullptr)
 Constructor. More...
 
void UpdateFronMessage (QVariantList &data)
 happens when Daemon talks to use, this decode and distributes the messages More...
 

Detailed Description

The AutoQTcpSubClient class.

This class makes the inital connection to distand nodes AutoTcpSubDaemon, the daemon tells this class what it has to offer in the way of owner. This class then decides if it has a consumer for that ownership. If it does, if it does have a need for that ownership if tells the Daemon it is interested in various ownerships and then can exchange ideas or information to the distant node's ownership

Constructor & Destructor Documentation

◆ AutoQTcpSubClient()

ADI::AutoQTcpSubClient::AutoQTcpSubClient ( QString  Key,
AutoQTcpDistribution Platform,
QObject parent = nullptr 
)

Constructor.

we must relay All our owner to someone else...

Member Function Documentation

◆ UpdateFronMessage()

void ADI::AutoQTcpSubClient::UpdateFronMessage ( QVariantList &  data)

happens when Daemon talks to use, this decode and distributes the messages

don't just do this, because time to set descritption each time takes long time.


The documentation for this class was generated from the following files: