the stream receiver can now be passed a threadsafe priorityQueue that it will add the packets to as they are received (note the priority queue passed should be initialized with a comparitor for "StreamPacket"s) #story[817]

This commit is contained in:
Peter Galloway
2017-04-24 18:29:50 +12:00
parent c1e4a6156c
commit f078c34bf9
3 changed files with 48 additions and 22 deletions
@@ -22,4 +22,8 @@ public class StreamPacket {
StreamParser.extractBoatLocation(payload);
}
}
public long getTimeStamp() {
return timeStamp;
}
}