Lightweight Bartering Grid

lbg.peer.strategy.negotiation.supplying
Class RandomSupplyingNegotiation

java.lang.Object
  extended by lbg.peer.strategy.negotiation.supplying.RandomSupplyingNegotiation
All Implemented Interfaces:
SupplyingNegotiationPolicy

public class RandomSupplyingNegotiation
extends java.lang.Object
implements SupplyingNegotiationPolicy

Random distribution of Consumption Grants.

Author:
Cyril Briquet

Constructor Summary
RandomSupplyingNegotiation(Peer managed_peer)
           
 
Method Summary
 void evaluateSupplyingRequests()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RandomSupplyingNegotiation

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

evaluateSupplyingRequests

public void evaluateSupplyingRequests()
                               throws GridException
Specified by:
evaluateSupplyingRequests in interface SupplyingNegotiationPolicy
Throws:
GridException

Lightweight Bartering Grid

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