GlobalObjects
Lade ...
Suche ...
Keine Treffer
TcpReceiver.h
gehe zur Dokumentation dieser Datei
1
#ifndef INC_TCPRECEIVER_H
2
#define INC_TCPRECEIVER_H
3
//-----------------------------------------------------------------------------
43
//-----------------------------------------------------------------------------
44
#include "
TcpTypes.h
"
45
#include "
TcpReceiverTransmitter.h
"
46
47
#if defined (__PTHREADS)
48
#include "
EuEndlessPThread.h
"
49
#else
50
#include "
EuRepeatingThread.h
"
51
#endif
52
53
#include "
TcpMain.h
"
54
#include <queue>
55
56
#if defined(_MSC_VER) || defined(__MINGW32__) || defined(__MINGW64__)
57
#include <
winsock.h
>
58
#endif
59
//-----------------------------------------------------------------------------
60
namespace
tcp
61
{
62
//---------------------------------------------------------------------------
63
//Forwards
64
class
Server;
65
class
AbstractMessage;
66
class
Client;
67
//---------------------------------------------------------------------------
84
class
__tcp_export_dll
Receiver
:
public
ReceiverTransmitter
85
{
86
protected
:
87
//============== Attribute
88
//-----------------------------------------------------------------------
98
TcpMain
*
m_pParentTcpMain
;
99
//-----------------------------------------------------------------------
100
101
//============== Konstruktoren
102
//-----------------------------------------------------------------------
112
Receiver
();
113
//-----------------------------------------------------------------------
123
Receiver
( SOCKET Socket );
124
//-----------------------------------------------------------------------
125
126
127
public
:
128
//============== Konstruktoren
129
//-----------------------------------------------------------------------
145
Receiver
(
TcpMain
* pParent, SOCKET Socket );
146
//-----------------------------------------------------------------------
156
virtual
~Receiver
();
157
//-----------------------------------------------------------------------
158
159
private
:
160
//============== Copy-Konstruktor
161
//-----------------------------------------------------------------------
171
Receiver
(
const
Receiver
& );
172
//-----------------------------------------------------------------------
173
174
//============== Operatoren
175
//-----------------------------------------------------------------------
185
Receiver
& operator= (
const
Receiver
& );
186
//-----------------------------------------------------------------------
187
};
188
//---------------------------------------------------------------------------
189
}
// namespace tcp
190
//-----------------------------------------------------------------------------
191
192
#endif
EuEndlessPThread.h
Header für EuEndlessPThread
EuRepeatingThread.h
Header für RepeatingThread
TcpMain.h
Header für TcpMain
TcpReceiverTransmitter.h
Header für ReceiverTransmitter.
TcpTypes.h
Für jede Bibliothek, hier 'TcpLib' gibt es eine Typen-Datei.
__tcp_export_dll
#define __tcp_export_dll
Definition
TcpTypes.h:59
tcp::Receiver
Oberklasse für alle TcpReceiver, welche über ein SOCKET kommunizieren und ihr Empfangsergebnis an ihr...
Definition
TcpReceiver.h:85
tcp::Receiver::m_pParentTcpMain
TcpMain * m_pParentTcpMain
Definition
TcpReceiver.h:98
tcp::Receiver::Receiver
Receiver(TcpMain *pParent, SOCKET Socket)
tcp::Receiver::~Receiver
virtual ~Receiver()
tcp::Receiver::Receiver
Receiver()
tcp::Receiver::Receiver
Receiver(SOCKET Socket)
tcp::Receiver::Receiver
Receiver(const Receiver &)
tcp::ReceiverTransmitter
Oberklasse für alle Receiver und Transmitter, welche über ein SOCKET kommunizieren.
Definition
TcpReceiverTransmitter.h:104
tcp::TcpMain
Oberklasse für Client sowie Server, welche ihr KnowHow in den abgeleiteten Klassen 'lernt'.
Definition
TcpMain.h:110
tcp
Definition
TcpClient.h:55
winsock.h
EuTcpLib
include
TcpReceiver.h
Erzeugt von
1.12.0