#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/network/ServerConnection.h>
orxonox::ServerConnection::~ServerConnection |
( |
| ) |
|
orxonox::ServerConnection::ServerConnection |
( |
| ) |
|
|
protected |
void orxonox::ServerConnection::addPacket |
( |
ENetPacket * |
packet, |
|
|
unsigned int |
clientID, |
|
|
uint8_t |
channelID |
|
) |
| |
Add outgoing packet to queue.
- Parameters
-
packet | The packet to send |
clientID | The ID of the recipient |
channelID | The channel ID |
bool orxonox::ServerConnection::closeListener |
( |
| ) |
|
void orxonox::ServerConnection::disconnectClient |
( |
int |
clientID | ) |
|
Terminate connection with a peer.
- Parameters
-
clientID | The peer with which to terminate the connection. |
void orxonox::ServerConnection::disconnectClients |
( |
| ) |
|
|
protected |
bool orxonox::ServerConnection::openListener |
( |
| ) |
|
void orxonox::ServerConnection::setBindAddress |
( |
const std::string & |
bindAddress | ) |
|
Set address on which to listen.
- Parameters
-
bindAddress | The address on which to listen |
void orxonox::ServerConnection::setPort |
( |
unsigned int |
port | ) |
|
Set port on which to listen on.
- Parameters
-
port | The port on which to listen on. |
bool orxonox::ServerConnection::bListening_ |
|
private |
The documentation for this class was generated from the following files: