- Enclosing class:
PacketDispatcher
static interface PacketDispatcher.PacketProcessor
Process one dispatched (connection, packet) pair. Implemented by
PacketHandler.receiveKnownConnection(Connection, Packet); the implementation must consume the packet's payload exactly once.Method Summary
All Methods
Method Details
process
Process the packet.- Parameters:
con- the connection the packet belongs to, may be null in testspacket- the packet to process