planet.generic.commonapi.results
Class ResultsIdleConstraint

java.lang.Object
  extended byplanet.generic.commonapi.results.ResultsIdleConstraint
All Implemented Interfaces:
ResultsConstraint, java.io.Serializable

public class ResultsIdleConstraint
extends java.lang.Object
implements ResultsConstraint

IdleGMLConstraint is used to select the whole topology of peer-to-peer network.

Author:
Marc Sanchez
See Also:
Serialized Form

Constructor Summary
ResultsIdleConstraint()
           
 
Method Summary
 boolean isACompliantEdge(ResultsEdge e)
          Always return true.
 boolean isACompliantNode(Id id)
          Always return true.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultsIdleConstraint

public ResultsIdleConstraint()
Method Detail

isACompliantEdge

public boolean isACompliantEdge(ResultsEdge e)
Always return true.

Specified by:
isACompliantEdge in interface ResultsConstraint
Parameters:
e - Edge to check.
Returns:
true if Edge is compliant according to this constraint
See Also:
ResultsConstraint.isACompliantEdge(planet.commonapi.results.ResultsEdge)

isACompliantNode

public boolean isACompliantNode(Id id)
Always return true.

Specified by:
isACompliantNode in interface ResultsConstraint
Parameters:
id - Id to check.
Returns:
true if Id is compliant accordint to this constraint.
See Also:
ResultsConstraint.isACompliantNode(planet.commonapi.Id)