it.unina.traffic
Class MultipleUDPLinkWeightsSender
java.lang.Object
it.unina.traffic.MultipleUDPLinkWeightsSender
- All Implemented Interfaces:
- LinkWeightsSender
public class MultipleUDPLinkWeightsSender
- extends java.lang.Object
- implements LinkWeightsSender
Sends link weights to every nodes of the domain through a Datagram socket on port 8888.
rid should be present for nodes
node interfaces sould be defined and should contains IP address
Link weights are send in the format:
if_IP_address:weight [if_IP_address:weight]*
Creation date: 5 oct. 2006
- Author:
- Ga�l Monfort (monfort@run.montefiore.ulg.ac.be)
Method Summary |
void |
sendLinkWeights()
This method sends the link weight the the hosts of the domain. |
void |
stop()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultipleUDPLinkWeightsSender
public MultipleUDPLinkWeightsSender(Domain domain)
MultipleUDPLinkWeightsSender
public MultipleUDPLinkWeightsSender(Domain domain,
Writer writer)
sendLinkWeights
public void sendLinkWeights()
- This method sends the link weight the the hosts of the domain.
It doesn't throw exception but log messages about which hosts cause errors.
- Specified by:
sendLinkWeights
in interface LinkWeightsSender
stop
public void stop()
- Specified by:
stop
in interface LinkWeightsSender
Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.