org.objectweb.carol.cmi
Class Random

java.lang.Object
  extended byorg.objectweb.carol.cmi.StubLB
      extended byorg.objectweb.carol.cmi.Random

public class Random
extends StubLB


Constructor Summary
Random(ClusterStubData csd, java.util.Collection c)
          Builds a random algorithm on a Collection of StubData objects.
 
Method Summary
 StubData get()
           
 StubData get(StubLBFilter f)
           
 void remove(StubData s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Random

public Random(ClusterStubData csd,
              java.util.Collection c)
Builds a random algorithm on a Collection of StubData objects.

Parameters:
c - a Collection of StubData objects.
Method Detail

get

public StubData get()
             throws NoMoreStubException
Specified by:
get in class StubLB
Throws:
NoMoreStubException

get

public StubData get(StubLBFilter f)
             throws NoMoreStubException
Specified by:
get in class StubLB
Throws:
NoMoreStubException

remove

public void remove(StubData s)
Specified by:
remove in class StubLB
See Also:
org.objectweb.carol.cmi.StubLB#remove(java.rmi.Remote)