Commit graph

963 commits

Author SHA1 Message Date
Atlante45
11c58ebc9e Added Packet::createCopy and getData 2015-07-07 15:07:14 -07:00
Atlante45
422bef4e18 Merge branch 'protocol' of https://github.com/highfidelity/hifi into protocol 2015-07-07 12:54:54 -07:00
Atlante45
e2bd9532b7 Implement move ctor/assignment 2015-07-07 12:47:23 -07:00
Ryan Huffman
419eec4ca7 Merge pull request #5267 from huffman/protocol
Protocol
2015-07-07 12:43:43 -07:00
Ryan Huffman
d8b1cc0aa9 Update NetworkPacket to correctly use move semantics 2015-07-07 12:38:58 -07:00
Atlante45
9889dcdd64 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-07 12:29:00 -07:00
Atlante45
712b35c4dc Couple changes to packets header size computation 2015-07-07 12:26:35 -07:00
Ryan Huffman
308335ff69 Update PacketSender to use NLPacket 2015-07-07 12:16:30 -07:00
Ryan Huffman
ebd223ecba Update NetworkPacket to use NLPacket 2015-07-07 12:15:44 -07:00
Atlante45
7eddcf383c Merge Packet and PacketPayload 2015-07-07 11:33:33 -07:00
Stephen Birarda
edf7a96b58 update audio client packet send to NLPacket 2015-07-07 10:53:55 -07:00
Atlante45
a07a24788d Cast type to int before arithmetique packing 2015-07-07 10:36:15 -07:00
Atlante45
c23e3c0ec2 Change Packet.h header to NLPacket 2015-07-07 10:35:11 -07:00
Atlante45
8e7580d58d Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-07 10:32:54 -07:00
Atlante45
8e5b040627 Packet setters 2015-07-07 10:32:31 -07:00
Atlante45
91496d37c7 Move NLPacket to its own file 2015-07-07 10:31:54 -07:00
Stephen Birarda
e1c098233a use sendUnreliablePacket for repeated send in AI 2015-07-06 18:03:41 -07:00
Stephen Birarda
ac6c8c9c3a add stubs for new send methods in LNL 2015-07-06 17:40:53 -07:00
Stephen Birarda
76fb120f67 remove call to NodeListPacket in NodeList 2015-07-06 17:23:48 -07:00
Stephen Birarda
453f8605c0 finish cleanup of NodeListPacket in LimitedNodeList 2015-07-06 17:22:55 -07:00
Stephen Birarda
c0d1953df3 use NLPacket in LimitedNodeList 2015-07-06 17:21:05 -07:00
Stephen Birarda
d64d49d004 remove PacketByteArray from networking 2015-07-06 17:15:27 -07:00
Atlante45
d87679f115 Partially fill packet header on construction 2015-07-06 17:13:03 -07:00
Stephen Birarda
f8e6344678 have PacketList use Packet instead of PacketPayload 2015-07-06 17:10:55 -07:00
Stephen Birarda
02f97702d3 switch path query packets to new networking API 2015-07-06 17:08:12 -07:00
Stephen Birarda
3fa785c545 fix domain check in packets for new API 2015-07-06 17:03:26 -07:00
Atlante45
12edec7bea Packet class polishing 2015-07-06 17:02:55 -07:00
Atlante45
0c7dc1e28f Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-06 16:40:47 -07:00
Stephen Birarda
922dd5a739 keep track of size used in PacketPayload 2015-07-06 16:35:29 -07:00
Stephen Birarda
6187cff766 add a constData method to PacketPayload 2015-07-06 16:20:56 -07:00
Stephen Birarda
33a9a04d9e allow a packet to be created with extended header 2015-07-06 16:18:49 -07:00
Stephen Birarda
3ae8ba2922 add segment calls to PacketList 2015-07-06 15:53:26 -07:00
Stephen Birarda
2ab2888260 add the complicated writeData method for PacketList 2015-07-06 15:50:54 -07:00
Atlante45
43354c3b28 More Packet class work + NLPacket shell 2015-07-06 15:03:00 -07:00
Stephen Birarda
25e82d4b92 initial version of PacketList QIODevice subclass 2015-07-06 14:29:24 -07:00
Stephen Birarda
cbba8263cd fix writeData and readData for PacketPayload 2015-07-06 14:27:20 -07:00
Stephen Birarda
93ac2704e8 fix header guard comment in PacketPayload 2015-07-06 12:38:49 -07:00
Stephen Birarda
1867f259d6 keep track of max written in PacketPayload 2015-07-06 11:55:49 -07:00
Stephen Birarda
b660c80988 leverage QIODevice for much of PacketPayload functionality 2015-07-06 11:51:20 -07:00
Stephen Birarda
57d76f488c make PacketPayload a QIODevice subclass 2015-07-06 11:33:46 -07:00
Stephen Birarda
8dc385bd62 initial setup for a PacketByteArray 2015-07-06 11:08:51 -07:00
Stephen Birarda
a9420d4212 replace controlled broadcast to nodes in Application 2015-07-02 17:55:26 -07:00
Stephen Birarda
8dd91b8795 don't force source ID on ICE ping packets 2015-07-02 17:34:52 -07:00
Stephen Birarda
b3c3e5a6c8 more PacketType to PacketType::Value replacements 2015-07-02 16:49:19 -07:00
Stephen Birarda
1c20aa47c3 remove replacement of namespace itself 2015-07-02 16:41:07 -07:00
Stephen Birarda
0d64e82fe2 replace PacketType declarations with PacketType::Value 2015-07-02 16:38:52 -07:00
Stephen Birarda
5ed332ea2c missed changes in PacketHeaders, comment old header calls 2015-07-02 16:35:17 -07:00
Stephen Birarda
1dfa592a13 use new enum across PacketHeaders 2015-07-02 16:31:33 -07:00
Stephen Birarda
f057be0982 Merge remote-tracking branch 'clement/protocol' into atp 2015-07-02 16:19:07 -07:00
Stephen Birarda
3a5701e02e first changes for new network API 2015-07-02 16:18:44 -07:00