support for slave server messages to keep NAT port open
This commit is contained in:
parent
8a167d844b
commit
fa52276fef
1 changed files with 4 additions and 0 deletions
|
@ -182,6 +182,7 @@ protected:
|
||||||
QTimer TimerPollList;
|
QTimer TimerPollList;
|
||||||
QTimer TimerRegistering;
|
QTimer TimerRegistering;
|
||||||
QTimer TimerPingServerInList;
|
QTimer TimerPingServerInList;
|
||||||
|
QTimer TimerPingCentralServer;
|
||||||
|
|
||||||
QMutex Mutex;
|
QMutex Mutex;
|
||||||
|
|
||||||
|
@ -194,11 +195,14 @@ protected:
|
||||||
bool bIsCentralServer;
|
bool bIsCentralServer;
|
||||||
bool bUseDefaultCentralServerAddress;
|
bool bUseDefaultCentralServerAddress;
|
||||||
|
|
||||||
|
CHostAddress SlaveCurCentServerHostAddress;
|
||||||
|
|
||||||
CProtocol* pConnLessProtocol;
|
CProtocol* pConnLessProtocol;
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void OnTimerPollList();
|
void OnTimerPollList();
|
||||||
void OnTimerPingServerInList();
|
void OnTimerPingServerInList();
|
||||||
|
void OnTimerPingCentralServer();
|
||||||
void OnTimerRegistering() { SlaveServerRegisterServer ( true ); }
|
void OnTimerRegistering() { SlaveServerRegisterServer ( true ); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue