dtNet::ConnectionListener Class Reference

Provides the interface to a GNE::Connection. More...

#include <connectionlistener.h>

List of all members.

Public Types

typedef GNE::SmartPtr
< ConnectionListener
sptr
typedef GNE::WeakPtr
< ConnectionListener
wptr

Public Member Functions

virtual ~ConnectionListener (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 (NetMgr *netMgr)
 static method used to create a new ConnectionListener

Protected Member Functions

 ConnectionListener (NetMgr *netMgr)


Detailed Description

Provides the interface to a GNE::Connection.

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.


Member Typedef Documentation

typedef GNE::SmartPtr<ConnectionListener> dtNet::ConnectionListener::sptr

typedef GNE::WeakPtr<ConnectionListener> dtNet::ConnectionListener::wptr


Constructor & Destructor Documentation

ConnectionListener::~ConnectionListener ( void   )  [virtual]

ConnectionListener::ConnectionListener ( NetMgr netMgr  )  [protected]


Member Function Documentation

static sptr dtNet::ConnectionListener::create ( NetMgr netMgr  )  [inline, static]

static method used to create a new ConnectionListener

void ConnectionListener::onDisconnect ( GNE::Connection &  conn  )  [virtual]

void ConnectionListener::onExit ( GNE::Connection &  conn  )  [virtual]

void ConnectionListener::onConnect ( GNE::SyncConnection &  conn  )  [virtual]

void ConnectionListener::onConnectFailure ( GNE::Connection &  conn,
const GNE::Error &  error 
) [virtual]

void ConnectionListener::onNewConn ( GNE::SyncConnection &  conn  )  [virtual]

void ConnectionListener::onReceive ( GNE::Connection &  conn  )  [virtual]

void ConnectionListener::onFailure ( GNE::Connection &  conn,
const GNE::Error &  error 
) [virtual]

void ConnectionListener::onError ( GNE::Connection &  conn,
const GNE::Error &  error 
) [virtual]


http://www.delta3d.org
2.0.0 generated 14 Feb 2008