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"
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//-----------------------------------------------------------------------------
60namespace tcp
61{
62 //---------------------------------------------------------------------------
63 //Forwards
64 class Server;
65 class AbstractMessage;
66 class Client;
67 //---------------------------------------------------------------------------
85 {
86 protected:
87 //============== Attribute
88 //-----------------------------------------------------------------------
99 //-----------------------------------------------------------------------
100
101 //============== Konstruktoren
102 //-----------------------------------------------------------------------
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
Header für EuEndlessPThread
Header für RepeatingThread
Header für TcpMain
Header für ReceiverTransmitter.
Für jede Bibliothek, hier 'TcpLib' gibt es eine Typen-Datei.
#define __tcp_export_dll
Definition TcpTypes.h:59
Oberklasse für alle TcpReceiver, welche über ein SOCKET kommunizieren und ihr Empfangsergebnis an ihr...
Definition TcpReceiver.h:85
TcpMain * m_pParentTcpMain
Definition TcpReceiver.h:98
Receiver(TcpMain *pParent, SOCKET Socket)
virtual ~Receiver()
Receiver(SOCKET Socket)
Receiver(const Receiver &)
Oberklasse für alle Receiver und Transmitter, welche über ein SOCKET kommunizieren.
Definition TcpReceiverTransmitter.h:104
Oberklasse für Client sowie Server, welche ihr KnowHow in den abgeleiteten Klassen 'lernt'.
Definition TcpMain.h:110
Definition TcpClient.h:55