#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 |
Definiert in Zeile 52 der Datei TCPIPCommSend.h.
|
|
Conctuctor creates a new object of CTCPIPCommSend.
Definiert in Zeile 62 der Datei TCPIPCommSend.cpp. Benutzt CTCPIPCommSend() und InitializeClass(). Wird benutzt von CTCPIPCommSend(). |
|
|
GetLastSocketError Returns the last socket error occured.
Erneute Implementation in CTCPIPComm. Definiert in Zeile 175 der Datei TCPIPCommSend.h. |
|
|
Initialize Initializes and starts the connection thread.
Definiert in Zeile 155 der Datei TCPIPCommSend.cpp. Benutzt Initialize(). Wird benutzt von Initialize(). |
|
|
Initializes object data. Use this to Initialize the class object after construction.
Definiert in Zeile 76 der Datei TCPIPCommSend.cpp. Benutzt InitializeClass() und SendThread(). Wird benutzt von CTCPIPCommSend() und InitializeClass(). |
|
||||||||||||
|
Send Transmits the give data to the communication partner.
Erneute Implementation in CTCPIPComm. Definiert in Zeile 176 der Datei TCPIPCommSend.cpp. Benutzt Send(). Wird benutzt von Send(). |
|
|
SendDisInd Indicates that the TCP/IP connection was broken down.
Implementiert in CTCPIPComm. Wird benutzt von SendThread(). |
|
|
SendThread (static) Start function for the Send Thread.
Definiert in Zeile 243 der Datei TCPIPCommSend.cpp. Benutzt m_hEventTerminateFinished, m_hReadPipe, m_LastSocketError, m_MaxSendBufferLen, m_pSendBuffer, m_Socket, SendDisInd(), SendThread() und Terminating(). Wird benutzt von InitializeClass() und SendThread(). |
|
|
Terminating (set state) Sets the state Terminating according to the parameter.
Definiert in Zeile 187 der Datei TCPIPCommSend.h. |
|
|
Terminating (get state) Returns the state whether the class is terminating (destructor) or not.
Definiert in Zeile 181 der Datei TCPIPCommSend.h. Wird benutzt von SendThread() und CTCPIPComm::~CTCPIPComm(). |
1.3.7