org.objectweb.carol.cmi
Class Random

java.lang.Object
  |
  +--org.objectweb.carol.cmi.StubLB
        |
        +--org.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
 java.rmi.Remote get()
           
 java.rmi.Remote get(StubLBFilter f)
           
 void remove(java.rmi.Remote stub)
           
 
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 java.rmi.Remote get()
                    throws NoMoreStubException
Specified by:
get in class StubLB
NoMoreStubException

get

public java.rmi.Remote get(StubLBFilter f)
                    throws NoMoreStubException
Specified by:
get in class StubLB
NoMoreStubException

remove

public void remove(java.rmi.Remote stub)
Specified by:
remove in class StubLB
See Also:
StubLB.remove(java.rmi.Remote)