|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.DrclObj
drcl.comp.Component
drcl.net.Module
drcl.inet.Protocol
drcl.inet.protocol.Routing
The base class for implementing a unicast/multicast routing protocol.
In particular, it provides a set of methods to access/maintain the routing
table in the core service layer.
| Nested Class Summary |
| Nested classes inherited from class drcl.comp.Component |
Component.Locks |
| Field Summary |
| Fields inherited from class drcl.net.Module |
downPort, PortGroup_DOWN, PortGroup_UP, upPort |
| Constructor Summary | |
Routing()
|
|
Routing(java.lang.String id_)
|
|
| Method Summary | |
void |
addRTEntry(RTKey key_,
long nexthop_,
BitSet interfaces,
java.lang.Object entryExtension_,
double timeout)
Adds/replaces a route entry via #rtconfigPort. |
void |
addRTEntry(RTKey key_,
long nexthop_,
int interfaces,
java.lang.Object entryExtension_,
double timeout)
Adds/replaces a route entry via #rtconfigPort. |
void |
graftRTEntry(RTKey key_,
BitSet interfaces,
java.lang.Object entryExtension_,
double timeout)
Grafts a route entry to a list of outgoing interfaces via #rtconfigPort. |
void |
graftRTEntry(RTKey key_,
int[] interfaces,
java.lang.Object entryExtension_,
double timeout)
Grafts a route entry to a list of outgoing interfaces via #rtconfigPort. |
void |
graftRTEntry(RTKey key_,
int interfaces,
java.lang.Object entryExtension_,
double timeout)
Grafts a route entry to a list of outgoing interfaces via #rtconfigPort. |
void |
pruneRTEntry(RTKey key_,
BitSet interfaces,
java.lang.Object entryExtension_,
double timeout)
Prunes a route entry from a list of outgoing interfaces via #rtconfigPort. |
void |
pruneRTEntry(RTKey key_,
int[] interfaces,
java.lang.Object entryExtension_,
double timeout)
Prunes a route entry from a list of outgoing interfaces via #rtconfigPort. |
void |
pruneRTEntry(RTKey key_,
int interfaces,
java.lang.Object entryExtension_,
double timeout)
Prunes a route entry from a list of outgoing interfaces via #rtconfigPort. |
RTEntry[] |
removeAllRTEntries()
Retrieves all the route entries via #rtconfigPort. |
java.lang.Object |
removeRTEntry(long destination)
Removes all route entries associated with a multicast group via #rtconfigPort. |
java.lang.Object |
removeRTEntry(RTKey key_,
java.lang.String type)
Removes a route entry via #rtconfigPort. |
RTEntry[] |
retrieveAllRTEntries()
Retrieves all the route entries via #rtconfigPort. |
RTEntry |
retrieveBestRTEntryDest(long destination)
Retrieves the best (longest matched) route entry of the same destination field via #rtconfigPort. |
java.lang.Object |
retrieveRTEntry(RTKey key_,
java.lang.String type)
Retrieves matched route entries via #rtconfigPort. |
java.lang.Object |
retrieveRTEntryDest(long destination)
Retrieves all the route entries of the same destination field via #rtconfigPort. |
java.lang.Object |
retrieveRTEntrySrc(long source)
Retrieves all the route entries of the same source field via #rtconfigPort. |
| Methods inherited from class drcl.net.Module |
cancelTimeout, setTimeout, setTimeoutAt |
| Methods inherited from class drcl.DrclObj |
clone |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Routing()
public Routing(java.lang.String id_)
| Method Detail |
public void addRTEntry(RTKey key_,
long nexthop_,
int interfaces,
java.lang.Object entryExtension_,
double timeout)
#rtconfigPort.
entryExtension_ - The extension defined in RTEntry.RTConfig
public void addRTEntry(RTKey key_,
long nexthop_,
BitSet interfaces,
java.lang.Object entryExtension_,
double timeout)
#rtconfigPort.
entryExtension_ - The extension defined in RTEntry.RTConfig
public void graftRTEntry(RTKey key_,
BitSet interfaces,
java.lang.Object entryExtension_,
double timeout)
#rtconfigPort.
entryExtension_ - The extension defined in RTEntry.RTConfig
public void graftRTEntry(RTKey key_,
int interfaces,
java.lang.Object entryExtension_,
double timeout)
#rtconfigPort.
entryExtension_ - The extension defined in RTEntry.RTConfig
public void graftRTEntry(RTKey key_,
int[] interfaces,
java.lang.Object entryExtension_,
double timeout)
#rtconfigPort.
entryExtension_ - The extension defined in RTEntry.RTConfig
public void pruneRTEntry(RTKey key_,
int[] interfaces,
java.lang.Object entryExtension_,
double timeout)
#rtconfigPort.
entryExtension_ - The extension defined in RTEntry.RTConfig
public void pruneRTEntry(RTKey key_,
int interfaces,
java.lang.Object entryExtension_,
double timeout)
#rtconfigPort.
entryExtension_ - The extension defined in RTEntry.RTConfig
public void pruneRTEntry(RTKey key_,
BitSet interfaces,
java.lang.Object entryExtension_,
double timeout)
#rtconfigPort.
entryExtension_ - The extension defined in RTEntry.RTConfig
public java.lang.Object removeRTEntry(RTKey key_,
java.lang.String type)
#rtconfigPort.
type - see RTConfig.public java.lang.Object removeRTEntry(long destination)
#rtconfigPort.
destination - the multicast group address.RTConfigpublic RTEntry[] removeAllRTEntries()
#rtconfigPort.
RTConfig
public java.lang.Object retrieveRTEntry(RTKey key_,
java.lang.String type)
#rtconfigPort.
RTConfigpublic RTEntry[] retrieveAllRTEntries()
#rtconfigPort.
RTConfigpublic java.lang.Object retrieveRTEntryDest(long destination)
#rtconfigPort.
RTConfigpublic RTEntry retrieveBestRTEntryDest(long destination)
#rtconfigPort.
RTConfigpublic java.lang.Object retrieveRTEntrySrc(long source)
#rtconfigPort.
RTConfig
|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||