amber.server.component
Interface PacketListener
- All Known Implementing Classes:
- GenericEventHandler, PacketLogger
- public interface PacketListener
This interface is implemented by listeners which wish to monitor packets
at a very low level. This interface is used by classes which wish to get
all the packets going to a particular page.
- Version:
- 1.0.0
- Author:
- Dr. David J. Knowles
- See Also:
ApplicationInterface,
BasePanel
|
Method Summary |
boolean |
processPacket(Packet p)
This function is called when the packet is detected. |
processPacket
public boolean processPacket(Packet p)
- This function is called when the packet is detected.
Should the function return true the packet is removed from the packet
queue.
- Parameters:
p - Packet containing the packet to process.- Returns:
- boolean. If true then the system removes the packet from the
packet queue.
Copyright © 2002 Clearfield Research Ltd. All Rights Reserved.