Tinman  1.0
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
Adapter Class Reference

#include <network.h>

Inheritance diagram for Adapter:
Inheritance graph
[legend]
Collaboration diagram for Adapter:
Collaboration graph
[legend]

Public Types

typedef std::shared_ptr< Adaptershared
 
- Public Types inherited from ControllerObserver
typedef std::shared_ptr< ControllerObservershared
 

Public Member Functions

 Adapter (Car::shared car)
 
virtual ~Adapter ()
 
void notify (Tinman::Action action)
 
Ice::AsyncResultPtr login (std::shared_ptr< Session > session)
 
Tinman::LoginInfo complete_login (Ice::AsyncResultPtr async_result)
 
Ice::AsyncResultPtr next_race (std::string nickname)
 
void notify (Tinman::Snapshot snapshot)
 
void disconnect ()
 
- Public Member Functions inherited from ControllerObserver
 ControllerObserver ()
 
virtual ~ControllerObserver ()
 

Private Member Functions

std::string get_endpoint ()
 

Private Attributes

Ice::CommunicatorPtr communicator_
 
Tinman::LoginInfo login_info_
 
Tinman::AuthoritativeServerPrx dgram_auth_server_
 
Tinman::AuthoritativeServerPrx auth_server_
 
Car::shared car_
 

Additional Inherited Members

- Public Attributes inherited from ControllerObserver
std::pair< std::string, int > socket_
 
- Protected Attributes inherited from ControllerObserver
int seq_number_
 

Member Typedef Documentation

typedef std::shared_ptr<Adapter> Adapter::shared

Constructor & Destructor Documentation

Adapter::Adapter ( Car::shared  car)
Adapter::~Adapter ( )
virtual

Member Function Documentation

Tinman::LoginInfo Adapter::complete_login ( Ice::AsyncResultPtr  async_result)
virtual

Implements ControllerObserver.

void Adapter::disconnect ( void  )
virtual

Implements ControllerObserver.

std::string Adapter::get_endpoint ( )
private
Ice::AsyncResultPtr Adapter::login ( std::shared_ptr< Session session)
virtual

Implements ControllerObserver.

Ice::AsyncResultPtr Adapter::next_race ( std::string  nickname)
virtual

Implements ControllerObserver.

void Adapter::notify ( Tinman::Action  action)
virtual

Implements ControllerObserver.

void Adapter::notify ( Tinman::Snapshot  snapshot)

Member Data Documentation

Tinman::AuthoritativeServerPrx Adapter::auth_server_
private
Car::shared Adapter::car_
private
Ice::CommunicatorPtr Adapter::communicator_
private
Tinman::AuthoritativeServerPrx Adapter::dgram_auth_server_
private
Tinman::LoginInfo Adapter::login_info_
private

The documentation for this class was generated from the following files: