1#ifndef INC_TCPDATARECEIVER_H
2#define INC_TCPDATARECEIVER_H
49#if defined(_MSC_VER) || defined(__MINGW32__) || defined(__MINGW64__)
57 class AbstractMessage;
349 char * pszTransmitData,
350 unsigned int uiTransmitDataSize )
const = 0;
384 unsigned int uiRawMsgSize,
385 unsigned int uiMessageID,
387 const std::string & rstrInfo )
const = 0;
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
virtual void generateNewTcpMessage(AbstractMessage *&prTcpAbstractMessage, char *pszRawMsg, unsigned int uiRawMsgSize, unsigned int uiMessageID, int iActionCode, const std::string &rstrInfo) const =0
virtual void generateNewTcpMessage(AbstractMessage *&prTcpAbstractMessage, char *pszTransmitData, unsigned int uiTransmitDataSize) const =0
unsigned int m_uiDataSize
Definition TcpDataReceiver.h:98
char * m_pszSentBuffer
Definition TcpDataReceiver.h:147
DataReceiver(TcpMain *pParent, SOCKET Socket, unsigned int uiDataSize)
DataReceiver(TcpMain *, SOCKET)
unsigned int getDataSize() const
unsigned int m_uiStreamSize
Definition TcpDataReceiver.h:109
unsigned int m_uiStreamPosistion
Definition TcpDataReceiver.h:120
DataReceiver(const DataReceiver &)
int processReceivedData(char *pszSentBuffer, unsigned int t_uiSentBufferSize)
void setDataSize(unsigned int uiDataSize)
char * m_szStreamBuffer
Definition TcpDataReceiver.h:132
virtual int acceptMessage(AbstractMessage *)=0
Superclass for all TcpReceiver that communicate via a SOCKET and deliver their receive result to thei...
Definition TcpReceiver.h:85
Superclass for Client and Server, which 'learns' its know-how in the derived classes.
Definition TcpMain.h:110
Definition TcpClient.h:55