mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Created packet enum to class packets and started progress on how the packets are read and parsed according to the type of packet.
#story[820]
This commit is contained in:
@@ -84,7 +84,7 @@ public class StreamReceiver {
|
||||
}
|
||||
long payloadLength = bytesToLong(getBytes(2));
|
||||
//No. of milliseconds since Jan 1st 1970
|
||||
System.out.println("timeStamp = " + timeStamp);
|
||||
// System.out.println("timeStamp = " + timeStamp);
|
||||
// System.out.println("payload length: " + payloadLength);
|
||||
priorityQue.add(new StreamPacket(type, payloadLength, timeStamp, getBytes((int)payloadLength)));
|
||||
Checksum checksum = new CRC32();
|
||||
|
||||
Reference in New Issue
Block a user