#pragma once #include "XNTCPService_global.h" #include struct XNTCPServicePrivate; class XNTCPSERVICE_EXPORT XNTCPService : public XNServiceObject { XN_METATYPE(XNTCPService, XNServiceObject) XN_DECLARE_PRIVATE(XNTCPService) public: XNTCPService(); virtual ~XNTCPService(); protected: XNTCPService(PrivateType *p); public: virtual void Initialize() override; virtual void PrepareForExecute() override; }; XNCLASS_PTR_DECLARE(XNTCPService)