CarobNS::RoundRobinControllerPool Class Reference

Implements a controller selection policy that iterates through the controller list, one after the other, starting with the first one in the list. More...

#include <ControllerPool.hpp>

Inheritance diagram for CarobNS::RoundRobinControllerPool:

CarobNS::AbstractControllerPool List of all members.

Public Member Functions

 RoundRobinControllerPool (const std::vector< ControllerInfo > &controllerList, long retryIntervalInMs=0) throw (DriverException, UnexpectedException)
 Creates a new RoundRobinControllerPool object.
ControllerInfo getController () throw (NoMoreControllerException, UnexpectedException)
 
See also:
AbstractControllerPool::getController()


Detailed Description

Implements a controller selection policy that iterates through the controller list, one after the other, starting with the first one in the list.


Constructor & Destructor Documentation

CarobNS::RoundRobinControllerPool::RoundRobinControllerPool ( const std::vector< ControllerInfo > &  controllerList,
long  retryIntervalInMs = 0 
) throw (DriverException, UnexpectedException)

Creates a new RoundRobinControllerPool object.

Parameters:
controllerList the controller list on which the policy applies
retryIntervalInMs IGNORED ! interval in milliseconds before retrying to re-connect to a controller that has failed


The documentation for this class was generated from the following file:
Generated on Tue Oct 24 09:05:38 2006 for Carob by  doxygen 1.5.0