Lightweight Bartering Grid

lbg.peer.strategy.scheduling.filtering
Class RelaxedFavorsSupplyingFiltering

java.lang.Object
  extended by lbg.peer.strategy.scheduling.filtering.CommonSupplyingFiltering
      extended by lbg.peer.strategy.scheduling.filtering.RelaxedFavorsSupplyingFiltering
All Implemented Interfaces:
SupplyingFilteringPolicy

public class RelaxedFavorsSupplyingFiltering
extends CommonSupplyingFiltering
implements SupplyingFilteringPolicy

RelaxedFavors Supplying filtering.

Author:
Cyril Briquet

Constructor Summary
RelaxedFavorsSupplyingFiltering(Peer managed_peer)
           
 
Method Summary
 boolean filterOutSupplyingTask(Task t)
          SupplyingFilteringPolicy implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelaxedFavorsSupplyingFiltering

public RelaxedFavorsSupplyingFiltering(Peer managed_peer)
                                throws GridException
Throws:
GridException
Method Detail

filterOutSupplyingTask

public boolean filterOutSupplyingTask(Task t)
                               throws GridException
SupplyingFilteringPolicy implementation.

Specified by:
filterOutSupplyingTask in interface SupplyingFilteringPolicy
Specified by:
filterOutSupplyingTask in class CommonSupplyingFiltering
Returns:
true if target Supplying Task should be filtered out, false it it can be accepted
Throws:
GridException

Lightweight Bartering Grid

Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.