⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 servermanager.h

📁 symbian 3nd 实现短信息收发
💻 H
字号:

#ifndef SERVERMANAGER_H
#define SERVERMANAGER_H

#include <aknview.h>
#include "Common.h"

#include "HTTPEngine.h"

//class COperatorFile;


class CServerManager : public CBase,
					   public MHTTPEngineObserver,public MLoginToNotify
					  /* public MTimeOutNotifier,*/
					   
    {
    public: 
		static CServerManager* NewL();
		static CServerManager* NewLC();  
		CServerManager();
		virtual ~CServerManager();
		
		void   MakeRequest(TInt aSendType);
		void   PackUpdateContent();
		void   ParseRecponseContent(const TDesC& aResponse);

		//继承自MHTTPEngineObserver类的虚方法
		virtual void	ResponseStatusL(TInt aStatusCode, const TDesC& aStatusText);
		virtual void	ResponseReceivedL(const TDesC& aResponseBuffer);

		//MTimeOutNotifier
//		virtual void   TimerExpired();
		//MLoginToNotify
		virtual void   LoginInfoNotify(const TDesC & aNumber, const TDesC & aPassword,TInt aModel);
		//MServerReNotify
//		void	SetServerNotifyPointer(MServerReNotify* aPointer) {m_pServerToLogin = aPointer;}
//		void	SetFilePointer(COperatorFile* aPointer);


	private: 
        void	ConstructL();
		void	AppendBodyL(const TDesC& aData);//add content to m_psHttpBody
	private:
		TBuf<13>				m_sTempPhone;	//值传递使用
		TBuf<6>					m_sTempPassWord;	//值传递使用
		HBufC*					m_psHttpBody;
/*		MServerReNotify*		m_pServerToLogin; */ 
		CHTTPEngine*			m_pHTTPEngine;
//		CBookInfo*				m_pBookInfo;
//		CBookEngine *			m_pBookEngine;
/*		CProgressNoteTASAO *	m_pProgressNote;*/
//		CTimeOutTimer*			m_pTimeOut;
//		COperatorFile*			m_pFile;
	public:
//		RArray<TInt>			    m_sIndexArray;
//		RPointerArray<CBookInfo>	m_pBookInfoArr;

		TInt     m_nStatusCode;
    };

#endif 


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -