
Public Member Functions | |
| ClientConnection (ClientConnectionManager manager) | |
| Constructs a new ClientConnection instance. | |
| void | CloseConnection () |
| Closes the connection if it is open and stops the processing thread. | |
| void | OpenConnection (Socket socket) |
| Opens a connection on the given socket. | |
| void | QueueServerResponse (PacketReader reader) |
| Queues a server response for this client. | |
Properties | |
| bool | IsDisconnected [get] |
| Gets the status of the connection. True = disconnected. | |
Private Member Functions | |
| void | ThreadProc () |
| The processing thread entry point. | |
Private Attributes | |
| int | m_bufferSize |
| uint | m_clientVersion |
| bool | m_fullyConnected |
| bool | m_isDisconnected |
| ClientConnectionManager | m_manager |
| uint | m_proxyVersion = 0x00000100 |
| Queue< PacketReader > | m_serverResponseQueue |
| Mutex | m_serverResponseQueueMutex |
| Socket | m_socket = null |
| Thread | m_thread = null |
| ManualResetEvent | m_threadExitEvent = null |
| Artemus::Proxy::ClientConnection::ClientConnection | ( | ClientConnectionManager | manager | ) | [inline] |
| void Artemus::Proxy::ClientConnection::CloseConnection | ( | ) | [inline] |
Closes the connection if it is open and stops the processing thread.
| void Artemus::Proxy::ClientConnection::OpenConnection | ( | Socket | socket | ) | [inline] |
Opens a connection on the given socket.
| socket | The connection socket. |
| void Artemus::Proxy::ClientConnection::QueueServerResponse | ( | PacketReader | reader | ) | [inline] |
Queues a server response for this client.
| reader | The PacketReader of the server response. |
| void Artemus::Proxy::ClientConnection::ThreadProc | ( | ) | [inline, private] |
The processing thread entry point.
int Artemus::Proxy::ClientConnection::m_bufferSize [private] |
uint Artemus::Proxy::ClientConnection::m_clientVersion [private] |
bool Artemus::Proxy::ClientConnection::m_fullyConnected [private] |
bool Artemus::Proxy::ClientConnection::m_isDisconnected [private] |
uint Artemus::Proxy::ClientConnection::m_proxyVersion = 0x00000100 [private] |
Queue<PacketReader> Artemus::Proxy::ClientConnection::m_serverResponseQueue [private] |
Mutex Artemus::Proxy::ClientConnection::m_serverResponseQueueMutex [private] |
Socket Artemus::Proxy::ClientConnection::m_socket = null [private] |
Thread Artemus::Proxy::ClientConnection::m_thread = null [private] |
ManualResetEvent Artemus::Proxy::ClientConnection::m_threadExitEvent = null [private] |
bool Artemus::Proxy::ClientConnection::IsDisconnected [get] |
Gets the status of the connection. True = disconnected.
1.5.5