interface_qtcpconnecter.h
来自「BCB下的高效开发包。包含大并发的网络库」· C头文件 代码 · 共 28 行
H
28 行
#ifndef Interface_QTcpConnecterH
#define Interface_QTcpConnecterH
#include <string>
//---------------------------------------------------------------------------
class IQTcpConnecter
{
public:
virtual __stdcall ~IQTcpConnecter() {}
virtual void __stdcall Release(void) = 0;
virtual bool __stdcall Start(void) = 0;
virtual bool __stdcall IsPowerOn(void)const = 0;
virtual void __stdcall Stop(void) = 0;
virtual bool __stdcall PushTask(const std::string& Addr, int Port
, const std::string& TaskName) = 0;
virtual bool __stdcall ReadResult(std::string* pTaskName, int* pSocket) = 0;
virtual void __stdcall Process(void) = 0;
virtual void __stdcall SetTimeOut(int TimeOut) = 0;
virtual int __stdcall GetCount(void)const = 0;
public:
static IQTcpConnecter* __stdcall Create(void);
};
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?