#include <clientconnectionlistener.h>
Public Types | |
| typedef GNE::SmartPtr < ClientConnectionListener > | sptr |
| typedef GNE::WeakPtr < ClientConnectionListener > | wptr |
Public Member Functions | |
| virtual | ~ClientConnectionListener (void) |
| virtual void | onDisconnect (GNE::Connection &conn) |
| virtual void | onExit (GNE::Connection &conn) |
| virtual void | onConnect (GNE::SyncConnection &conn) |
| virtual void | onConnectFailure (GNE::Connection &conn, const GNE::Error &error) |
| virtual void | onNewConn (GNE::SyncConnection &conn) |
| virtual void | onReceive (GNE::Connection &conn) |
| virtual void | onFailure (GNE::Connection &conn, const GNE::Error &error) |
| virtual void | onError (GNE::Connection &conn, const GNE::Error &error) |
Static Public Member Functions | |
| static sptr | Create (NetworkBridge *netwBridge) |
| static method used to create a new ClientConnectionListener | |
Protected Member Functions | |
| ClientConnectionListener (NetworkBridge *netwBridge) | |
This class is used internally by the NetMgr and is typically not used directly by the end user. This class contains a reference to an instance of NetMgr and calls it's virtual methods, mimicking the GNE interface.
| typedef GNE::SmartPtr<ClientConnectionListener> dtNetGM::ClientConnectionListener::sptr |
| typedef GNE::WeakPtr<ClientConnectionListener> dtNetGM::ClientConnectionListener::wptr |
| dtNetGM::ClientConnectionListener::~ClientConnectionListener | ( | void | ) | [virtual] |
| dtNetGM::ClientConnectionListener::ClientConnectionListener | ( | NetworkBridge * | netwBridge | ) | [protected] |
| static sptr dtNetGM::ClientConnectionListener::Create | ( | NetworkBridge * | netwBridge | ) | [inline, static] |
static method used to create a new ClientConnectionListener
| void dtNetGM::ClientConnectionListener::onDisconnect | ( | GNE::Connection & | conn | ) | [virtual] |
| void dtNetGM::ClientConnectionListener::onExit | ( | GNE::Connection & | conn | ) | [virtual] |
| void dtNetGM::ClientConnectionListener::onConnect | ( | GNE::SyncConnection & | conn | ) | [virtual] |
| void dtNetGM::ClientConnectionListener::onConnectFailure | ( | GNE::Connection & | conn, | |
| const GNE::Error & | error | |||
| ) | [virtual] |
| void dtNetGM::ClientConnectionListener::onNewConn | ( | GNE::SyncConnection & | conn | ) | [virtual] |
| void dtNetGM::ClientConnectionListener::onReceive | ( | GNE::Connection & | conn | ) | [virtual] |
| void dtNetGM::ClientConnectionListener::onFailure | ( | GNE::Connection & | conn, | |
| const GNE::Error & | error | |||
| ) | [virtual] |
| void dtNetGM::ClientConnectionListener::onError | ( | GNE::Connection & | conn, | |
| const GNE::Error & | error | |||
| ) | [virtual] |