#include <coreext.h>
See documentation of ICoreExtPacket
Definition at line 80 of file coreext.h.
◆ Packet() [1/3]
CoreExt::Packet::Packet |
( |
ToxExtPacketList * |
packetList, |
|
|
ToxExtensionMessages * |
toxExtMessages, |
|
|
uint32_t |
friendId, |
|
|
std::mutex * |
toxext_mutex, |
|
|
PacketPassKey |
|
|
) |
| |
Internal constructor for a packet.
Definition at line 74 of file coreext.cpp.
◆ Packet() [2/3]
CoreExt::Packet::Packet |
( |
Packet const & |
other | ) |
|
|
delete |
◆ Packet() [3/3]
CoreExt::Packet::Packet |
( |
Packet && |
other | ) |
|
|
inline |
◆ addExtendedMessage()
uint64_t CoreExt::Packet::addExtendedMessage |
( |
QString |
message | ) |
|
|
overridevirtual |
Adds message to packet.
- Returns
- Extended message receipt, UINT64_MAX on failure
- Note
- Any other extensions related to this message have to be added before the message itself
Implements ICoreExtPacket.
Definition at line 98 of file coreext.cpp.
◆ send()
bool CoreExt::Packet::send |
( |
| ) |
|
|
overridevirtual |
Consumes the packet constructed with PacketBuilder packet and sends it to toxext.
Implements ICoreExtPacket.
Definition at line 138 of file coreext.cpp.
◆ friendId
uint32_t CoreExt::Packet::friendId |
|
private |
◆ hasBeenSent
bool CoreExt::Packet::hasBeenSent = false |
|
private |
◆ packetList
ToxExtPacketList* CoreExt::Packet::packetList |
|
private |
◆ toxext_mutex
std::mutex* CoreExt::Packet::toxext_mutex |
|
private |
◆ toxExtMessages
ToxExtensionMessages* CoreExt::Packet::toxExtMessages |
|
private |
The documentation for this class was generated from the following files: