Orxonox: orxonox::packet::Acknowledgement Class Reference

# orxonox::packet::Acknowledgement Class Reference

`#include <src/network/packet/Acknowledgement.h>`

Inheritance diagram for orxonox::packet::Acknowledgement:

List of all members.

## Public Member Functions

| Acknowledgement (uint8_t *data, unsigned int clientID)
| Acknowledgement (unsigned int id, unsigned int clientID)
unsigned int | getAckID ()
unsigned int | getSize () const
bool | process ()
| ~Acknowledgement ()

## Detailed Description

Author:

## Constructor & Destructor Documentation

orxonox::packet::Acknowledgement::Acknowledgement | ( | unsigned int | id,
|  | unsigned int | clientID |
| ) |  |  |

References _ACKID, _PACKETID, orxonox::packet::Type::Acknowledgement, orxonox::packet::Packet::clientID_, orxonox::packet::Packet::data_, orxonox::packet::Packet::flags_, getSize(), and PACKET_FLAGS_ACK.

orxonox::packet::Acknowledgement::Acknowledgement | ( | uint8_t * | data,
|  | unsigned int | clientID |
| ) |  |  |

orxonox::packet::Acknowledgement::~Acknowledgement | ( |  | ) |

## Member Function Documentation

unsigned int orxonox::packet::Acknowledgement::getAckID | ( |  | ) |

References _ACKID, and orxonox::packet::Packet::data_.

Referenced by process().

unsigned int orxonox::packet::Acknowledgement::getSize | ( |  | ) | const`[inline, virtual]`

Implements orxonox::packet::Packet.

References _ACKID.

Referenced by Acknowledgement().

bool orxonox::packet::Acknowledgement::process | ( |  | ) | `[virtual]`

Implements orxonox::packet::Packet.

References orxonox::GamestateHandler::ackGamestate(), orxonox::packet::Packet::clientID_, COUT, and getAckID().

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

- src/network/packet/Acknowledgement.h
- src/network/packet/Acknowledgement.cc