it.unina.traffic
Class LinkWeightsSender

java.lang.Object
  extended by it.unina.traffic.LinkWeightsSender

public class LinkWeightsSender
extends java.lang.Object

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)

Constructor Summary
LinkWeightsSender(Domain domain)
           
LinkWeightsSender(Domain domain, Writer writer)
           
 
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
 

Constructor Detail

LinkWeightsSender

public LinkWeightsSender(Domain domain)

LinkWeightsSender

public LinkWeightsSender(Domain domain,
                         Writer writer)
Method Detail

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.


stop

public void stop()


Copyright © 2004-2006 Research Unit in Networking, All Rights Reserved.