org.objectweb.carol.cmi
Class RoundRobin

java.lang.Object
  |
  +--org.objectweb.carol.cmi.StubLB
        |
        +--org.objectweb.carol.cmi.RoundRobin

public class RoundRobin
extends StubLB


Constructor Summary
RoundRobin(ClusterStubData csd, java.util.Collection c)
          Builds a round robin 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

RoundRobin

public RoundRobin(ClusterStubData csd,
                  java.util.Collection c)
Builds a round robin 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)