Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Private Attributes | List of all members
orxonox::packet::ServerInformation Class Reference

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/network/packet/ServerInformation.h>

Public Member Functions

 ServerInformation ()
 
 ServerInformation (ENetEvent *event)
 
 ~ServerInformation ()
 
int getClientNumber () const
 
std::string getServerIP () const
 
std::string getServerName () const
 
uint32_t getServerRTT () const
 
void send (ENetPeer *peer)
 
void setClientNumber (int clientNumber)
 
void setServerIP (std::string IP)
 
void setServerName (std::string name)
 

Private Attributes

int clientNumber_
 
std::string serverIP_
 
std::string serverName_
 
uint32_t serverRTT_
 

Constructor & Destructor Documentation

orxonox::packet::ServerInformation::ServerInformation ( )
orxonox::packet::ServerInformation::ServerInformation ( ENetEvent event)
orxonox::packet::ServerInformation::~ServerInformation ( )

Member Function Documentation

int orxonox::packet::ServerInformation::getClientNumber ( ) const
inline
std::string orxonox::packet::ServerInformation::getServerIP ( ) const
inline
std::string orxonox::packet::ServerInformation::getServerName ( ) const
inline
uint32_t orxonox::packet::ServerInformation::getServerRTT ( ) const
inline
void orxonox::packet::ServerInformation::send ( ENetPeer peer)
void orxonox::packet::ServerInformation::setClientNumber ( int  clientNumber)
inline
void orxonox::packet::ServerInformation::setServerIP ( std::string  IP)
inline
void orxonox::packet::ServerInformation::setServerName ( std::string  name)
inline

Member Data Documentation

int orxonox::packet::ServerInformation::clientNumber_
private
std::string orxonox::packet::ServerInformation::serverIP_
private
std::string orxonox::packet::ServerInformation::serverName_
private
uint32_t orxonox::packet::ServerInformation::serverRTT_
private

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