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 TimerRegistering;
|
||||
QTimer TimerPingServerInList;
|
||||
QTimer TimerPingCentralServer;
|
||||
|
||||
QMutex Mutex;
|
||||
|
||||
|
@ -194,11 +195,14 @@ protected:
|
|||
bool bIsCentralServer;
|
||||
bool bUseDefaultCentralServerAddress;
|
||||
|
||||
CHostAddress SlaveCurCentServerHostAddress;
|
||||
|
||||
CProtocol* pConnLessProtocol;
|
||||
|
||||
public slots:
|
||||
void OnTimerPollList();
|
||||
void OnTimerPingServerInList();
|
||||
void OnTimerPingCentralServer();
|
||||
void OnTimerRegistering() { SlaveServerRegisterServer ( true ); }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue