#include <Manager.hpp>
Public Member Functions | |
virtual VOID | Connected ()=0 |
virtual VOID | Received (CONST BYTE *Data, DWORD Length)=0 |
virtual VOID | Disconnected ()=0 |
VOID | Send (CONST BYTE *Data, DWORD Length) |
VOID | GetInfo (ConnectionInfo *Information) |
VOID | Disconnect () |
Public Attributes | |
Manager * | Owner |
PVOID | Context |
virtual VOID Network::Connection::Connected | ( | ) | [pure virtual] |
Called when the connection is created.
Implemented in Game::Client.
virtual VOID Network::Connection::Received | ( | CONST BYTE * | Data, | |
DWORD | Length | |||
) | [pure virtual] |
Called when data is received.
Implemented in Game::Client.
virtual VOID Network::Connection::Disconnected | ( | ) | [pure virtual] |
Called when connection is broken.
Implemented in Game::Client.
VOID Network::Connection::Send | ( | CONST BYTE * | Data, | |
DWORD | Length | |||
) |
Calls on the manager to send some data.
VOID Network::Connection::GetInfo | ( | ConnectionInfo * | Information | ) |
Calls on the manager to obtain information about the connection.
VOID Network::Connection::Disconnect | ( | ) |
Calls on the manager to disconnect.
The manager that owns it.
The address of an opaque structure containing context information.