org.ros.master.uri
Interface SwitchableMasterUriProvider.MasterUriProviderSwitcher

Enclosing class:
SwitchableMasterUriProvider

public static interface SwitchableMasterUriProvider.MasterUriProviderSwitcher

Perform a switch between MasterUriProvider instances for the SwitchableMasterUriProvider.

This class permits the use of atomic provider switches.


Method Summary
 MasterUriProvider switchProvider(MasterUriProvider oldProvider)
          Switch the provider in use.
 

Method Detail

switchProvider

MasterUriProvider switchProvider(MasterUriProvider oldProvider)
Switch the provider in use.

Parameters:
oldProvider - a reference to the provider which came before
Returns:
the new provider to use