attached one message to the server list
This commit is contained in:
parent
8dbb1949db
commit
77a387ade4
2 changed files with 7 additions and 0 deletions
|
@ -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 ) ) );
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue