All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----edu.utah.janos.nodeos.pj_PacketHandlerList
Summary |
class pj_PacketHandlerList extends java.lang.Object { // Fields 1 private final Vector masks; // Constructors 1 public pj_PacketHandlerList(); // Methods 4 void addHandler(pj_ProtocolLayer.PacketHandler); pj_ProtocolLayer.PacketHandler matchMask(DatagramPacket); pj_ProtocolLayer.PacketHandler matchMask(Socket); boolean remHandler(pj_ProtocolLayer.PacketHandler); }
pj_PortHandleList is a helper class for protocol layers that is used to map a number of PortAddress-based PacketHandlers to an individual socket.
Fields |
· masks | Summary | Top |
private final Vector masks
Constructors |
· pj_PacketHandlerList | Summary | Top |
public pj_PacketHandlerList()
Default constructor
Methods |
· matchMask | Summary | Top |
pj_ProtocolLayer.PacketHandler matchMask(Socket socket)
Find a packet handler that matches the given socket, we just check the source masks of each handler.
· matchMask | Summary | Top |
pj_ProtocolLayer.PacketHandler matchMask(DatagramPacket dp)
Find a packet handler that matches the given packet, we just check the source masks of each handler.
· addHandler | Summary | Top |
void addHandler(pj_ProtocolLayer.PacketHandler ph)
Add a packet handler to this socket.
· remHandler | Summary | Top |
boolean remHandler(pj_ProtocolLayer.PacketHandler ph)
Remove a packet handler from this socket.
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7