![]() |
OutSocket Class Reference#include <OutSocket.h>
Collaboration diagram for OutSocket: ![]()
Detailed Description
Definition at line 27 of file OutSocket.h. Constructor & Destructor Documentation
Definition at line 28 of file OutSocket.cpp. 00029 :TcpSocket(h, 32000, 32000) 00030 ,m_remote(NULL) 00031 { 00032 }
Member Function Documentation
Definition at line 40 of file OutSocket.cpp. References m_remote. 00041 { 00042 if (Handler().Valid(m_remote)) 00043 { 00044 m_remote -> SetCloseAndDelete(); 00045 } 00046 }
Definition at line 49 of file OutSocket.cpp. References m_remote. 00050 { 00051 if (Handler().Valid(m_remote)) 00052 { 00053 m_remote -> SendBuf(p, l); 00054 } 00055 else 00056 { 00057 Handler().LogError(this, "OnRawData", 0, "m_remote not valid"); 00058 } 00059 }
Definition at line 62 of file OutSocket.cpp. References m_remote. 00063 { 00064 if (Handler().Valid(m_remote)) 00065 { 00066 if (m_remote -> tmpl) 00067 { 00068 printf("Sending %d early bytes\n",m_remote -> tmpl); 00069 SendBuf(m_remote -> tmps, m_remote -> tmpl); 00070 m_remote -> tmpl = 0; 00071 } 00072 } 00073 }
Member Data Documentation
Definition at line 41 of file OutSocket.h. Referenced by OnConnect(), OnDelete(), OnRawData(), and SetRemote().
The documentation for this class was generated from the following files: |