public interface PacketCollector
PacketCollector interface can be used to define custom Packet
consumers.
There could be many packet collectors; therefore one packet may get processed by multiple packet collectors; therefore, developers must ensure that packet is considered read-only, although it is not read-only by design.
| Modifier and Type | Method and Description |
|---|---|
void |
collect(Packet packet)
This collector takes the given packet.
|
void collect(Packet packet)
packet - packet instance to be collectedCopyright © 2019. All rights reserved.