1#ifndef INC_TCPCLIENTRECEIVER_H
2#define INC_TCPCLIENTRECEIVER_H
49#if defined(_MSC_VER) || defined(__MINGW32__) || defined(__MINGW64__)
57 class AbstractMessage;
213 #if defined (__PTHREADS)
227 virtual void cleanUp();
288 char * pszTransmitData,
289 unsigned int uiTransmitDataSize )
const override;
324 unsigned int uiRawMsgSize,
325 unsigned int uiMessageID,
327 const std::string & rstrInfo )
const override;
342 #if defined (__PTHREADS)
343 virtual int cancel();
For each library, here 'TcpLib' there is a type file.
#define __tcp_export_dll
Definition TcpTypes.h:59
Base class for messages which can be sent, received and processed by the Tcp-classes.
Definition TcpMessage.h:97
A simple TCP client class, which should learn its know-how in the derived classes.
Definition TcpClient.h:199
Class that communicates with a Server via a SOCKET and delivers its receive result of type Message to...
Definition TcpClientReceiver.h:81
ClientReceiver(const ClientReceiver &)
ClientReceiver(TcpMain *, SOCKET)
virtual void work() override
virtual void cancel() override
bool m_bHaveConnection
Definition TcpClientReceiver.h:94
virtual int acceptMessage(AbstractMessage *pTcpMessage) override
ClientReceiver(TcpMain *, SOCKET, unsigned int)
virtual ~ClientReceiver()
virtual void generateNewTcpMessage(AbstractMessage *&prTcpMessage, char *pszTransmitData, unsigned int uiTransmitDataSize) const override
ClientReceiver(Client *pParent, SOCKET Socket, unsigned int uiDataSize)
virtual void generateNewTcpMessage(AbstractMessage *&prTcpMessage, char *pszRawMsg, unsigned int uiRawMsgSize, unsigned int uiMessageID, int iActionCode, const std::string &rstrInfo) const override
Superclass for all TcpReceiver that communicate via a SOCKET and deliver their receive result,...
Definition TcpDataReceiver.h:85
Superclass for Client and Server, which 'learns' its know-how in the derived classes.
Definition TcpMain.h:110
Definition TcpClient.h:55