public static class PacketCollector.Configuration
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
PacketCollector.Configuration |
setCollectorToReset(PacketCollector collector)
Set the collector which timeout for the next result is reset once this collector collects
a packet.
|
PacketCollector.Configuration |
setPacketFilter(PacketFilter packetFilter)
Set the packet filter used by this collector.
|
PacketCollector.Configuration |
setSize(int size)
Set the maximum size of this collector, i.e.
|
public PacketCollector.Configuration setPacketFilter(PacketFilter packetFilter)
null, then all packets will
get collected by this collector.packetFilter - public PacketCollector.Configuration setSize(int size)
size - public PacketCollector.Configuration setCollectorToReset(PacketCollector collector)
collector -