1#ifndef INC_TCPSERVERRECEIVER_H
2#define INC_TCPSERVERRECEIVER_H
49#if defined(_MSC_VER) || defined(__MINGW32__) || defined(__MINGW64__)
58 class AbstractMessage;
213 #if defined (__PTHREADS)
226 virtual void cleanUp();
288 char * pszTransmitData,
289 unsigned int uiTransmitDataSize )
const override;
325 unsigned int uiRawMsgSize,
326 unsigned int uiMessageID,
328 const std::string & rstrInfo )
const override;
343 #if defined (__PTHREADS)
344 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
Superclass for all TcpReceiver that communicate via a SOCKET and deliver their receive result,...
Definition TcpDataReceiver.h:85
A simple TCP server class, which should learn its know-how in the derived classes.
Definition TcpServer.h:268
Class that communicates with a Client via a SOCKET and delivers its receive result of type ServerMess...
Definition TcpServerReceiver.h:81
ServerReceiver(TcpMain *, SOCKET, unsigned int)
virtual void work() override
virtual void generateNewTcpMessage(AbstractMessage *&prTcpServerMessage, char *pszRawMsg, unsigned int uiRawMsgSize, unsigned int uiMessageID, int iActionCode, const std::string &rstrInfo) const override
ServerReceiver(Server *pParent, SOCKET Socket, unsigned int uiDataSize)
virtual void generateNewTcpMessage(AbstractMessage *&prTcpServerMessage, char *pszTransmitData, unsigned int uiTransmitDataSize) const override
ServerReceiver(const ServerReceiver &)
ServerReceiver(TcpMain *, SOCKET)
void setValid(bool bValid)
bool m_bValid
Definition TcpServerReceiver.h:94
virtual ~ServerReceiver()
virtual void cancel() override
virtual int acceptMessage(AbstractMessage *pTcpServerMessage) override
Superclass for Client and Server, which 'learns' its know-how in the derived classes.
Definition TcpMain.h:110
Definition TcpClient.h:55