Orxonox  0.0.5 Codename: Arcturus
Classes | Namespaces | Enumerations | Variables
Connection.h File Reference
#include "NetworkPrereqs.h"
#include <deque>
#include <map>
#include <enet/enet.h>

Go to the source code of this file.

Classes

class  orxonox::Connection
 
struct  orxonox::incomingEvent
 
struct  orxonox::outgoingEvent
 

Namespaces

 boost
 
 orxonox
 Die Wagnis Klasse hat die folgenden Aufgaben:
 

Enumerations

enum  orxonox::IncomingEventType { orxonox::IncomingEventType::receivePacket = 1, orxonox::IncomingEventType::peerConnect = 2, orxonox::IncomingEventType::peerDisconnect = 3 }
 
enum  orxonox::OutgoingEventType { orxonox::OutgoingEventType::sendPacket = 1, orxonox::OutgoingEventType::broadcastPacket = 2, orxonox::OutgoingEventType::disconnectPeer = 3, orxonox::OutgoingEventType::disconnectPeers = 4 }
 

Variables

const unsigned int orxonox::NETWORK_MAX_CONNECTIONS = 50
 
const unsigned int orxonox::NETWORK_MAX_QUEUE_PROCESS_TIME = 5
 
const unsigned int orxonox::NETWORK_PORT = 55556
 
const unsigned int orxonox::NETWORK_WAIT_TIMEOUT = 1