uk.org.arlott.simon.hw.f24.lbsta
Interface PacketDestination

All Known Implementing Classes:
BridgePort, Host

public interface PacketDestination

The PacketDestination interface provides a method of processing packets when they arrive.


Method Summary
 java.util.Vector<Packet> processPacket(Packet p)
          Processes a Packet that has reached this PacketDestination.
 

Method Detail

processPacket

java.util.Vector<Packet> processPacket(Packet p)
Processes a Packet that has reached this PacketDestination.

Parameters:
p - Packet received from the network.
Returns:
A Vector of new Packets to add to the network.