blob: 93437e6d104d9fba0077a5d677211add161b887e [file] [log] [blame]
Alexandre Lision51140e12013-12-02 10:54:09 -05001/*
2 Copyright (C) 2007 - 2010 Werner Dittmann
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#ifndef _ZRTPPACKETRELAYACK_H_
19#define _ZRTPPACKETRELAYACK_H_
20
21/**
22 * @file ZrtpPacketRelayAck.h
23 * @brief The ZRTP RelayAck message
24 *
25 * @ingroup GNU_ZRTP
26 * @{
27 */
28
29#include <libzrtpcpp/ZrtpPacketBase.h>
30
31/**
32 * Implement the RelayAck packet.
33 *
34 * The ZRTP simple message RelayAck. The implementation sends this
35 * after receiving and checking the SASrelay message.
36 *
37 * @author Werner Dittmann <Werner.Dittmann@t-online.de>
38 */
39class __EXPORT ZrtpPacketRelayAck : public ZrtpPacketBase {
40
41 public:
42 /// Creates a RelayAck packet with default data
43 ZrtpPacketRelayAck();
44
45 /// Creates a RelayAck packet from received data
46 ZrtpPacketRelayAck(uint8_t* data);
47 virtual ~ZrtpPacketRelayAck();
48
49 private:
50 RelayAckPacket_t data;
51};
52
53/**
54 * @}
55 */
56#endif // _ZRTPPACKETRELAYACK_H_