gSAFE
1.3.8
|
#include <datalib.h>
Inherits QObject.
Signals | |
void | connectionEstablished () |
void | connectionLost () |
Public Member Functions | |
HRefreshAgentNetclient (QString server_ip) | |
~HRefreshAgentNetclient () | |
Static Public Member Functions | |
static HRefreshAgentNetclient * | getHRefreshAgentNetclient (void) |
static bool | isConnected (void) |
Static Protected Attributes | |
static bool | inNotify = false |
static HRefreshAgentNetclient * | theone = NULL |
This is the class which extends the functionality of HRefreshAgent to work on network and more program instance. It works as a network client which connect to the server. (The server runs an instance of HRefreshAgentNetserver)
You can use this class by creating an instance afrer the HRefreshAgent. The HRefreshAgent instance must be created before creating HRefreshAgentNetclient instance! This class will be automatically find and work together with HRefreshAgent. You can set the HRefreshAgentNetserver IP address or name in the constructor.
HRefreshAgentNetclient::HRefreshAgentNetclient | ( | QString | server_ip | ) |
Creates an instance of HRefreshAgentNetclient and connect to the server_ip address
Definition at line 656 of file datalib.cpp.
HRefreshAgentNetclient::~HRefreshAgentNetclient | ( | ) |
Destructor
Definition at line 683 of file datalib.cpp.
|
signal |
Activcated if the network connection is established
|
signal |
Activated if the network connection is lost
|
inlinestatic |
Returns the pointer of the HRefreshAgentNetclient instance
|
static |
Returns true if the client is connected to server
Definition at line 676 of file datalib.cpp.