urv.omolsr.core
Class OMOLSRController
java.lang.Object
urv.omolsr.core.OMOLSRController
public class OMOLSRController
- extends java.lang.Object
- Author:
- Marcel Arrufat Arias, Gerard Paris Aixala
Field Summary |
static int |
INITIAL_HOPS
The number of hops to be inserted in a new message |
protected org.apache.commons.logging.Log |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INITIAL_HOPS
public static final int INITIAL_HOPS
- The number of hops to be inserted in a new message
- See Also:
- Constant Field Values
log
protected final org.apache.commons.logging.Log log
OMOLSRController
public OMOLSRController(OMOLSR omolsr,
OLSRNode localNode)
computeMST
public void computeMST()
- Computes a new Mst with the current multicast network graph
registerOmolsrProtocol
public void registerOmolsrProtocol(OMOLSR protocol)
- Registers a new instance of the OMOLSR protocol to the multicast
address
- Parameters:
groupId
- The multicast address of the groupprotocol
- An instance of the OMOLSR protocol
unregisterOmcastProtocol
public void unregisterOmcastProtocol(java.lang.String groupId)
- Given its multicast address, unregisters an instance of the OMOLSR
protocol
- Parameters:
groupId
- The multicast address of the group
updateMulticastNetworkGraph
public void updateMulticastNetworkGraph(OMOLSRNetworkGraph multicastNetworkGraph)