org.objectweb.carol.cmi
Class RoundRobin

java.lang.Object
  extended byorg.objectweb.carol.cmi.StubLB
      extended byorg.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
 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

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 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.StubData)