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

📄 sprequest.hpp

📁 spserver 是一个实现了半同步/半异步(Half-Sync/Half-Async)和领导者/追随者(Leader/Follower) 模式的服务器框架
💻 HPP
字号:
/* * Copyright 2007 Stephen Liu * For license terms, see the file COPYING along with this library. */#ifndef __sprequest_hpp__#define __sprequest_hpp__class SP_MsgDecoder;class SP_Request {public:	SP_Request();	~SP_Request();	// default return SP_DefaultMsgDecoder	SP_MsgDecoder * getMsgDecoder();	// set a special SP_MsgDecoder	void setMsgDecoder( SP_MsgDecoder * decoder );	void setClientIP( const char * clientIP );	const char * getClientIP();private:	char mClientIP[ 32 ];	SP_MsgDecoder * mDecoder;};#endif

⌨️ 快捷键说明

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