All Packages This Package Class Hierarchy Class Search Index
Class edu.utah.janos.nodeos.UDPLayer
java.lang.Object
|
+----edu.utah.janos.nodeos.ProtocolLayer
|
+----edu.utah.janos.nodeos.UDPLayer
class UDPLayer
extends edu.utah.janos.nodeos.ProtocolLayer
{
// Fields 3
DatagramPacket dp;
private DatagramSocket ds;
private final Hashtable sockets;
// Constructors 1
UDPLayer() throws Exception;
// Methods 10
void attachGenerator(PacketGenerator);
void attachHandler(PacketHandler) throws IOException;
PacketAddress createAddress();
PacketAddressMask createAddressMask();
void detachGenerator(PacketGenerator);
void detachHandler(PacketHandler);
void generatorReady(PacketGenerator);
String getID();
int getPacketLength();
public String toString();
// Inner Classes 3
static class UDPLayer.UDPAddress
static class UDPLayer.UDPAddressMask
private static class UDPLayer.SocketReader
}
UDPLayer is a protocol layer implementation that runs over UDP.
DatagramPacket dp
private DatagramSocket ds
private final Hashtable sockets
The table of sockets that we have open for reading, organized by
port number.
UDPLayer() throws Exception
public String toString()
- Overrides:
- toString in class Object
String getID()
- Overrides:
- getID in class ProtocolLayer
int getPacketLength()
- Overrides:
- getPacketLength in class ProtocolLayer
PacketAddress createAddress()
- Overrides:
- createAddress in class ProtocolLayer
PacketAddressMask createAddressMask()
- Overrides:
- createAddressMask in class ProtocolLayer
void attachHandler(PacketHandler ph) throws IOException
void detachHandler(PacketHandler ph)
void attachGenerator(PacketGenerator pg)
void generatorReady(PacketGenerator pg)
void detachGenerator(PacketGenerator pg)
All Packages This Package Class Hierarchy Class Search Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7