27 QObject *parent =
nullptr);
32 virtual bool open(OpenMode mode)
override;
33 virtual void close()
override;
34 virtual int Process();
36 enum class SOCKET_TYPE{
42 void sigServer(QString szHost, quint16 nPort);
43 void sigServer(QString szUnixDomainSocket);
49 SOCKET_TYPE m_SocketType;
51 int CloseSocket(socket_t &s);
56#if defined(HAVE_UNIX_DOMAIN_SOCKET)
60 const int m_BufferLength = 1024;