gSAFE  1.3.8
Signals | Public Member Functions | Static Public Member Functions | Static Protected Attributes | List of all members
HRefreshAgentNetclient Class Reference

#include <datalib.h>

Inherits QObject.

Signals

void connectionEstablished ()
 
void connectionLost ()
 

Public Member Functions

 HRefreshAgentNetclient (QString server_ip)
 
 ~HRefreshAgentNetclient ()
 

Static Public Member Functions

static HRefreshAgentNetclientgetHRefreshAgentNetclient (void)
 
static bool isConnected (void)
 

Static Protected Attributes

static bool inNotify = false
 
static HRefreshAgentNetclienttheone = NULL
 

Detailed Description

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.

Definition at line 275 of file datalib.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

void HRefreshAgentNetclient::connectionEstablished ( )
signal

Activcated if the network connection is established

void HRefreshAgentNetclient::connectionLost ( )
signal

Activated if the network connection is lost

static HRefreshAgentNetclient* HRefreshAgentNetclient::getHRefreshAgentNetclient ( void  )
inlinestatic

Returns the pointer of the HRefreshAgentNetclient instance

Definition at line 288 of file datalib.h.

bool HRefreshAgentNetclient::isConnected ( void  )
static

Returns true if the client is connected to server

Definition at line 676 of file datalib.cpp.


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