#include <TCPIPCommReceive.h>
Klassendiagramm für CTCPIPCommReceive:

Öffentliche Methoden | |
| CTCPIPCommReceive (const long MaxRecvBufferLen=8192) | |
| Conctuctor creates a new object of CTCPIPCommConnect. | |
| virtual | ~CTCPIPCommReceive () |
| destructor | |
| void | Initialize (const SOCKET Socket) |
| Initialize Initializes and stars the connection thread. | |
| bool | StartReceiving (void) |
| ConnectRequest Tries to establish the connection to the communication partner. | |
| int | GetLastSocketError (void) const |
| GetLastSocketError Returns the last socket error occured. | |
| bool | Terminating (void) const |
| Terminating (get state) Returns the state whether the class is terminating (destructor) or not. | |
| void | Terminating (bool Terminating) |
| Terminating (set state) Sets the state Terminating according to the parameter. | |
Geschützte Methoden | |
| virtual void | Receive (void *pData, long DataLen)=0 |
| Receive Indicates that the TCP/IP connection is established. | |
| virtual void | RecvDisInd (void)=0 |
| RecvDisInd Indicates that the TCP/IP connection was broken down. | |
| void | InitializeClass (const long MaxRecvBufferLen) |
| Initializes object data. | |
Private, statische Methoden | |
| void | RecvThread (CTCPIPCommReceive *pClass) |
| RecvThread (static) Start function for the Receive Thread. | |
Private Attribute | |
| SOCKET | m_Socket |
| int | m_LastSocketError |
| DWORD | m_ThreadID |
| HANDLE | m_ThreadHandle |
| HANDLE | m_hEventTerminate |
| HANDLE | m_hEventTerminateFinished |
| HANDLE | m_hEventStartReceiving |
| void * | m_pRecvBuffer |
| long | m_MaxRecvBufferLen |
| bool | m_Terminating |
|
|
Conctuctor creates a new object of CTCPIPCommConnect.
|
|
|
GetLastSocketError Returns the last socket error occured.
Erneute Implementation in CTCPIPComm. |
|
|
Initialize Initializes and stars the connection thread.
|
|
|
Initializes object data. Use this to Initialize the class object after construction.
|
|
||||||||||||
|
Receive Indicates that the TCP/IP connection is established.
Implementiert in CTCPIPConnector. |
|
|
RecvDisInd Indicates that the TCP/IP connection was broken down.
Implementiert in CTCPIPComm. |
|
|
RecvThread (static) Start function for the Receive Thread.
|
|
|
ConnectRequest Tries to establish the connection to the communication partner.
|
|
|
Terminating (set state) Sets the state Terminating according to the parameter.
|
|
|
Terminating (get state) Returns the state whether the class is terminating (destructor) or not.
|
1.3.7