com.sun.spot.peripheral.driver.proxy
Class ProxyDriverRegistry
java.lang.Object
com.sun.spot.peripheral.driver.proxy.ProxyDriverRegistry
- All Implemented Interfaces:
- IDriverLookup, IDriverRegistry
public class ProxyDriverRegistry
- extends Object
- implements IDriverRegistry, IDriverLookup
DRIVER_REGISTRY_SERVER
public static final String DRIVER_REGISTRY_SERVER
- See Also:
- Constant Field Values
DRIVER_SERVER
public static final String DRIVER_SERVER
- See Also:
- Constant Field Values
ProxyDriverRegistry
public ProxyDriverRegistry()
add
public void add(IDriver driver)
- Description copied from interface:
IDriverRegistry
- Add a driver to the registry. The driver will now be informed/asked about deep sleep
- Specified by:
add
in interface IDriverRegistry
- Parameters:
driver
- The driver to add, which must not already be registered
getDriverNamed
public IDriver getDriverNamed(String name)
- Specified by:
getDriverNamed
in interface IDriverLookup
remove
public void remove(IDriver driver)
- Description copied from interface:
IDriverRegistry
- Remove a driver from the registry
- Specified by:
remove
in interface IDriverRegistry
- Parameters:
driver
- The driver to remove, which must be registered
Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.