www.pudn.com > agentnet.zip > MSG.H


// Msg.h: interface for the CMsg class. 
// 
////////////////////////////////////////////////////////////////////// 
//m_strCommand 命令字符串定义 
//  登陆 
 
////////////////////////////////////////////////////////////////// 
 
 
#if !defined(AFX_MSG_H__INCLUDED_) 
#define AFX_MSG_H__INCLUDED_ 
 
//消息类 
class CMsg:public CObject 
{ 
	DECLARE_DYNCREATE(CMsg); 
 
public: 
	//构造函数 
	CMsg(); 
 
//Attributes 
public: 
	//通信字符串 
	CString m_strText; 
	//命令字符串 
 	CString m_strCommand; 
    //用户名字符串 
	CString m_strUser; 
	//目的用户 
	CString m_strToUser; 
    //用户字符串 
	CString m_strPassword; 
 
//Operations 
public: 
	//初始化函数 
	void Init(); 
 
//Implementation 
public: 
	//析构函数 
	virtual ~CMsg(); 
	//序列化函数 
	virtual void Serialize(CArchive& ar); 
 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
}; 
 
#endif // !defined(AFX_MSG_H__INCLUDED_)