// QLNotify.h: interface for the CQLNotify class.
|
//
|
//////////////////////////////////////////////////////////////////////
|
#if _MSC_VER > 1000
|
#pragma once
|
#endif // _MSC_VER > 1000
|
|
#include "QLResponse.h"
|
|
class CQLConnect;
|
|
class CQLNotify
|
{
|
public:
|
CQLNotify();
|
virtual ~CQLNotify();
|
|
// Attributers
|
public:
|
CQLConnect *m_pConnect;
|
|
// Operations
|
public:
|
void SetOIConnect( CQLConnect *pConnect );
|
void Notify( CQLResponse* pResponse ); //
|
|
virtual void OnConnectionClosed();
|
virtual void OnConnectionErr( int nErrCode );
|
virtual BOOL OnChallenges( CQLResponse *pResponse ); // ֪ͨÓзþÎñÆ÷¶ÏÏß¼ì²âÐźÅ
|
|
protected:
|
virtual void OnUserStatus( CQLResponse *pResponse ); // Óû§×´Ì¬¸Ä±ä
|
virtual void OnOut( CQLResponse *pResponse ); // ·þÎñÆ÷ÒªÇóÓû§Í˳ö
|
virtual void OnNotify( CQLResponse *pResponse ); // ÏûϢʼþ
|
virtual void OnNtyOtherSysMsg(CQLResponse *pResponse);
|
|
};
|