org.objectweb.carol.cmi

Class Random


public class Random
extends StubLB

Constructor Summary

Random(ClusterStubData csd, 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 org.objectweb.carol.cmi.StubLB

get, get, remove

Constructor Details

Random

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

Parameters:
c - a Collection of StubData objects.

Method Details

get

public StubData get()
            throws NoMoreStubException
Overrides:
get in interface StubLB


get

public StubData get(StubLBFilter f)
            throws NoMoreStubException
Overrides:
get in interface StubLB


remove

public void remove(StubData s)
Overrides:
remove in interface StubLB

See Also:
org.objectweb.carol.cmi.StubLB.remove(java.rmi.Remote)