All Packages This Package Class Hierarchy Class Search Index
Inner Class edu.utah.janos.nodeos.UDPLayer.UDPAddressMask
java.lang.Object
|
+----edu.utah.janos.nodeos.UDPLayer.UDPAddressMask
static class UDPLayer.UDPAddressMask
extends java.lang.Object
implements edu.utah.janos.nodeos.ProtocolLayer.PacketAddressMask
{
// Fields 4
InetAddressMask destMask;
int destPort;
InetAddressMask srcMask;
int srcPort;
// Constructors 1
public UDPAddressMask();
// Methods 6
public boolean equals(Object);
public int hashCode();
boolean matchPacket(DatagramPacket);
public void parseAddressMask(String) throws PacketAddressFormatException;
int priority();
public String toString();
}
InetAddressMask srcMask
int srcPort
int destPort
InetAddressMask destMask
public UDPAddressMask()
Default constructor
public void parseAddressMask(String addr) throws PacketAddressFormatException
Parses UDP address mask strings. The format is:
":::
- Implements:
- parseAddressMask in interface ProtocolLayer.PacketAddressMask
boolean matchPacket(DatagramPacket dp)
Check for a match between our mask and the datagram packet
int priority()
public int hashCode()
- Overrides:
- hashCode in class Object
public boolean equals(Object o)
- Overrides:
- equals in class Object
public String toString()
- Overrides:
- toString in class Object
All Packages This Package Class Hierarchy Class Search Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7