#include <TCPConnexion.hpp>
List of all members.
Public Member Functions |
| void | Disconnect () |
| bool | Post (u8 *data, u32 data_bytes, u32 skip_bytes=0) |
| | TCPConnexion (int priorityLevel) |
| CAT_INLINE bool | Valid () |
| virtual | ~TCPConnexion () |
Protected Member Functions |
| virtual bool | OnConnectFromClient (ThreadPoolLocalStorage *tls, const NetAddr &remoteClientAddress)=0 |
| virtual void | OnDisconnectFromClient ()=0 |
| virtual bool | OnReadFromClient (ThreadPoolLocalStorage *tls, u8 *data, u32 bytes)=0 |
| virtual bool | OnWriteToClient (ThreadPoolLocalStorage *tls, AsyncBuffer *buffer, u32 bytes)=0 |
Private Member Functions |
| bool | Accept (ThreadPoolLocalStorage *tls, Socket listenSocket, Socket acceptSocket, LPFN_DISCONNECTEX lpfnDisconnectEx, const NetAddr &acceptAddress, const NetAddr &remoteClientAddress) |
| bool | Disco (AsyncBuffer *buffer=0) |
| bool | OnDisco (ThreadPoolLocalStorage *tls, int error, AsyncBuffer *buffer, u32 bytes) |
| bool | OnRead (ThreadPoolLocalStorage *tls, int error, AsyncBuffer *buffer, u32 bytes) |
| bool | OnWrite (ThreadPoolLocalStorage *tls, int error, AsyncBuffer *buffer, u32 bytes) |
| bool | Read (AsyncBuffer *buffer=0) |
Private Attributes |
| volatile u32 | _disconnecting |
| LPFN_DISCONNECTEX | _lpfnDisconnectEx |
| Socket | _socket |
Friends |
| class | TCPServer |
Detailed Description
Definition at line 58 of file TCPConnexion.hpp.
Constructor & Destructor Documentation
| cat::TCPConnexion::TCPConnexion |
( |
int |
priorityLevel | ) |
|
| virtual cat::TCPConnexion::~TCPConnexion |
( |
| ) |
[virtual] |
Member Function Documentation
| void cat::TCPConnexion::Disconnect |
( |
| ) |
|
| virtual void cat::TCPConnexion::OnDisconnectFromClient |
( |
| ) |
[protected, pure virtual] |
| bool cat::TCPConnexion::Post |
( |
u8 * |
data, |
|
|
u32 |
data_bytes, |
|
|
u32 |
skip_bytes = 0 |
|
) |
| |
| CAT_INLINE bool cat::TCPConnexion::Valid |
( |
| ) |
[inline] |
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file: