mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
fix methods for packet pointers in LNL
This commit is contained in:
parent
55a775de38
commit
03b17cc5dc
1 changed files with 6 additions and 6 deletions
|
@ -145,8 +145,8 @@ public:
|
|||
|
||||
qint64 sendUnreliablePacket(NLPacket& packet, const SharedNodePointer& destinationNode) {};
|
||||
qint64 sendUnreliablePacket(NLPacket& packet, const HifiSockAddr& sockAddr) {};
|
||||
qint64 sendPacket(std::unique_ptr<NLPacket>&& packet, const SharedNodePointer& destinationNode) {};
|
||||
qint64 sendPacket(std::unique_ptr<NLPacket>&& packet, const HifiSockAddr& sockAddr) {};
|
||||
qint64 sendPacket(std::unique_ptr<NLPacket> packet, const SharedNodePointer& destinationNode) {};
|
||||
qint64 sendPacket(std::unique_ptr<NLPacket> packet, const HifiSockAddr& sockAddr) {};
|
||||
qint64 sendPacketList(PacketList& packetList, const SharedNodePointer& destinationNode) {};
|
||||
qint64 sendPacketList(PacketList& packetList, const HifiSockAddr& sockAddr) {};
|
||||
|
||||
|
@ -179,11 +179,11 @@ public:
|
|||
void getPacketStats(float &packetsPerSecond, float &bytesPerSecond);
|
||||
void resetPacketStats();
|
||||
|
||||
NLPacket&& constructPingPacket(PingType_t pingType = PingType::Agnostic);
|
||||
NLPacket&& constructPingReplyPacket(const QByteArray& pingPacket);
|
||||
std::unique_ptr<NLPacket> constructPingPacket(PingType_t pingType = PingType::Agnostic);
|
||||
std::unique_ptr<NLPacket> constructPingReplyPacket(const QByteArray& pingPacket);
|
||||
|
||||
NLPacket&& constructICEPingPacket(PingType_t pingType, const QUuid& iceID);
|
||||
NLPacket&& constructICEPingReplyPacket(const QByteArray& pingPacket, const QUuid& iceID);
|
||||
std::unique_ptr<NLPacket> constructICEPingPacket(PingType_t pingType, const QUuid& iceID);
|
||||
std::unique_ptr<NLPacket> constructICEPingReplyPacket(const QByteArray& pingPacket, const QUuid& iceID);
|
||||
|
||||
virtual bool processSTUNResponse(const QByteArray& packet);
|
||||
|
||||
|
|
Loading…
Reference in a new issue