crypt.h
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 33 行
H
33 行
// Crypt.h,v 1.5 1999/02/14 19:29:09 jcej Exp
#ifndef CRYPT_H
#define CRYPT_h
#include "Protocol_Task.h"
/* An interface (adaptor) between your favorite encryption method and
an ACE_Stream.
*/
class Crypt : public Protocol_Task
{
public:
typedef Protocol_Task inherited;
Crypt (void);
~Crypt (void);
protected:
// Moving downstream will encrypt the data
int send (ACE_Message_Block *message,
ACE_Time_Value *timeout);
// And moving upstream will decrypt it.
int recv (ACE_Message_Block *message,
ACE_Time_Value *timeout);
};
#endif /* CRYPT_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?