-
- All Implemented Interfaces:
public interface PacketQueue.Observer<T>An interface to observe a queue, to collect statistics or similar.
-
-
Method Summary
Modifier and Type Method Description abstract voidadded(T pkt)Called when a packet is added to a queue. abstract voidremoved(T pkt)Called when a packet is removed from a queue. abstract voiddropped(T pkt)Called when a packet is dropped from a queue. abstract Map<out Object, out Object>getStats()Get statistics gathered by this observer.
-