attached one message to the server list

This commit is contained in:
Volker Fischer 2011-04-09 10:53:34 +00:00
parent 8dbb1949db
commit 77a387ade4
2 changed files with 7 additions and 0 deletions

View file

@ -288,6 +288,10 @@ CServer::CServer ( const QString& strLoggingFileName,
SIGNAL ( CLRegisterServerReceived ( CHostAddress, CServerCoreInfo ) ),
this, SLOT ( OnCLRegisterServerReceived ( CHostAddress, CServerCoreInfo ) ) );
QObject::connect ( &ConnLessProtocol,
SIGNAL ( CLReqServerList ( CHostAddress ) ),
this, SLOT ( OnCLReqServerList ( CHostAddress ) ) );
QObject::connect ( &ConnLessProtocol,
SIGNAL ( CLSendEmptyMes ( CHostAddress ) ),
this, SLOT ( OnCLSendEmptyMes ( CHostAddress ) ) );

View file

@ -196,6 +196,9 @@ public slots:
void OnCLSendEmptyMes ( CHostAddress TargetInetAddr )
{ ConnLessProtocol.CreateCLEmptyMes ( TargetInetAddr ); }
void OnCLReqServerList ( CHostAddress InetAddr )
{ ServerListManager.QueryServerList ( InetAddr ); }
void OnCLRegisterServerReceived ( CHostAddress InetAddr,
CServerCoreInfo ServerInfo )
{