public interface DatagramDevice
Modifier and Type | Method and Description |
---|---|
boolean |
enqueueDatagram(Datagram dg)
forward a datagram (does not set src address)
|
Address |
getAddress()
Get the Address for this connection.
|
FabricDevice |
getFabricDevice()
Get the FabricDevice associated with Net Device
|
java.lang.String |
getName()
Get the name of this Net Device
|
NetIFListener |
getNetIFListener()
Get the Listener of a NetIF.
|
boolean |
outQueueHandler(Datagram dg,
DatagramDevice dd)
Send the datagram onwards to the world
|
boolean |
sendDatagram(Datagram dg)
Send a Datagram originating at this host (sets src address) and
|
void |
setAddress(Address addr)
Set the Address for this connection.
|
void |
setName(java.lang.String name)
Set the name of this Net Device
|
void |
setNetIFListener(NetIFListener l)
Set the Listener of NetIF.
|
java.lang.String getName()
void setName(java.lang.String name)
Address getAddress()
FabricDevice getFabricDevice()
void setAddress(Address addr)
boolean sendDatagram(Datagram dg) throws java.net.NoRouteToHostException
java.net.NoRouteToHostException
boolean enqueueDatagram(Datagram dg) throws java.net.NoRouteToHostException
java.net.NoRouteToHostException
boolean outQueueHandler(Datagram dg, DatagramDevice dd)
NetIFListener getNetIFListener()
void setNetIFListener(NetIFListener l)
User Space Routing 0.10.3