sprequest.hpp

来自「spserver 是一个实现了半同步/半异步(Half-Sync/Half-As」· HPP 代码 · 共 32 行

HPP
32
字号
/* * 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 + =
减小字号Ctrl + -
显示快捷键?