public static interface PktFactory.PktType.EventHandler
The packet factory type object dispatches events to the user via an instance of this interface.
| Modifier and Type | Method and Description |
|---|---|
void |
onPacketCreate(PktPacket packet,
boolean fromPool)
Invoked on packet creation.
|
void onPacketCreate(PktPacket packet, boolean fromPool)
packet - The created packet.fromPool - Indicates whether the packet was created fresh
or obtained from the packet type pool. This will always be
false if the packet type is not configured for pooling.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.