kaos.flexfeed.robots
Class CommRelayListener

java.lang.Object
  extended by kaos.flexfeed.robots.CommRelayListener

public class CommRelayListener
extends java.lang.Object


Constructor Summary
CommRelayListener()
          Creates a new instance of CommRelayRobot
 
Method Summary
 double calculateDistance(java.lang.Double x1, java.lang.Double y1, java.lang.Double x2, java.lang.Double y2)
           
 void connected()
           
 void connectionLost()
           
 void edgeAdded(java.lang.String edgeID, java.lang.String sourceID, java.lang.String destID)
           
 void edgeAttribListSet(java.lang.String edgeID, java.util.Hashtable attributes)
           
 void edgeAttribRemoved(java.lang.String edgeID, java.lang.String attKey)
           
 void edgeAttribSet(java.lang.String edgeID, java.lang.String attKey, java.lang.Object attribute)
           
 void edgeRemoved(java.lang.String edgeID, java.lang.String sourceID, java.lang.String destID, java.util.Hashtable attributes)
           
 void initialize(KAoSRobot robot, java.lang.String vertexID)
           
 void restoreCommLink(java.lang.String vertexID)
           
 void vertexAdded(java.lang.String vertexID)
           
 void vertexAttribListSet(java.lang.String vertexID, java.util.Hashtable attributes)
           
 void vertexAttribRemoved(java.lang.String vertexID, java.lang.String attKey)
           
 void vertexAttribSet(java.lang.String vertexID, java.lang.String attKey, java.lang.Object attribute)
           
 void vertexRemoved(java.lang.String vertexID, java.util.Hashtable attributes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommRelayListener

public CommRelayListener()
Creates a new instance of CommRelayRobot

Method Detail

initialize

public void initialize(KAoSRobot robot,
                       java.lang.String vertexID)
                throws java.lang.Exception
Throws:
java.lang.Exception

restoreCommLink

public void restoreCommLink(java.lang.String vertexID)
                     throws java.lang.Exception
Throws:
java.lang.Exception

calculateDistance

public double calculateDistance(java.lang.Double x1,
                                java.lang.Double y1,
                                java.lang.Double x2,
                                java.lang.Double y2)

connected

public void connected()

connectionLost

public void connectionLost()

edgeAdded

public void edgeAdded(java.lang.String edgeID,
                      java.lang.String sourceID,
                      java.lang.String destID)

edgeAttribListSet

public void edgeAttribListSet(java.lang.String edgeID,
                              java.util.Hashtable attributes)

edgeAttribRemoved

public void edgeAttribRemoved(java.lang.String edgeID,
                              java.lang.String attKey)

edgeAttribSet

public void edgeAttribSet(java.lang.String edgeID,
                          java.lang.String attKey,
                          java.lang.Object attribute)

edgeRemoved

public void edgeRemoved(java.lang.String edgeID,
                        java.lang.String sourceID,
                        java.lang.String destID,
                        java.util.Hashtable attributes)

vertexAdded

public void vertexAdded(java.lang.String vertexID)

vertexAttribListSet

public void vertexAttribListSet(java.lang.String vertexID,
                                java.util.Hashtable attributes)

vertexAttribRemoved

public void vertexAttribRemoved(java.lang.String vertexID,
                                java.lang.String attKey)

vertexAttribSet

public void vertexAttribSet(java.lang.String vertexID,
                            java.lang.String attKey,
                            java.lang.Object attribute)

vertexRemoved

public void vertexRemoved(java.lang.String vertexID,
                          java.util.Hashtable attributes)