#include <TCPIPCommSend.h>
Klassendiagramm für CTCPIPCommSend:

Öffentliche Methoden | |
| CTCPIPCommSend (const long MaxSendBufferLen=8192) | |
| Conctuctor creates a new object of CTCPIPCommSend. | |
| virtual | ~CTCPIPCommSend () |
| destructor | |
| void | Initialize (const SOCKET Socket) |
| Initialize Initializes and starts the connection thread. | |
| bool | Send (const void *pData, const long DataLen) |
| Send Transmits the give data 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 | SendDisInd (void)=0 |
| SendDisInd Indicates that the TCP/IP connection was broken down. | |
| void | InitializeClass (const long MaxSendBufferLen) |
| Initializes object data. | |
Private, statische Methoden | |
| void | SendThread (CTCPIPCommSend *pClass) |
| SendThread (static) Start function for the Send Thread. | |
Private Attribute | |
| SOCKET | m_Socket |
| int | m_LastSocketError |
| DWORD | m_ThreadID |
| HANDLE | m_hReadPipe |
| HANDLE | m_hWritePipe |
| HANDLE | m_ThreadHandle |
| HANDLE | m_hEventTerminate |
| HANDLE | m_hEventTerminateFinished |
| HANDLE | m_hEventStartReceiving |
| void * | m_pSendBuffer |
| long | m_MaxSendBufferLen |
| bool | m_Terminating |
| int | m_SendCnt |
|
|
Conctuctor creates a new object of CTCPIPCommSend.
|
|
|
GetLastSocketError Returns the last socket error occured.
Erneute Implementation in CTCPIPComm. |
|
|
Initialize Initializes and starts the connection thread.
|
|
|
Initializes object data. Use this to Initialize the class object after construction.
|
|
||||||||||||
|
Send Transmits the give data to the communication partner.
Erneute Implementation in CTCPIPComm. |
|
|
SendDisInd Indicates that the TCP/IP connection was broken down.
Implementiert in CTCPIPComm. |
|
|
SendThread (static) Start function for the Send Thread.
|
|
|
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