📄 interface_qtcpconnecter.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -