19 bool operator> (const GREPacket &other) const {
20 return seq > other.seq;
26 Reorderer(Protocol* sender);
27 void handle_packet(uint16_t proto, const std::string& data, int seq);
30 void send_packet(uint16_t proto, const std::string &data, bool silence);
35 std::priority_queue<GREPacket, std::vector<GREPacket>, std::greater<GREPacket>> packet_buffer;
36 std::map<int, int> ccs;
39 #endif // !defined(_REORDERER_H)