SunSPOT API V3.0


com.sun.spot.peripheral.driver.proxy
Class ProxyDriverRegistry

java.lang.Object
  extended by com.sun.spot.peripheral.driver.proxy.ProxyDriverRegistry
All Implemented Interfaces:
IDriverLookup, IDriverRegistry

public class ProxyDriverRegistry
extends Object
implements IDriverRegistry, IDriverLookup


Field Summary
static String DRIVER_REGISTRY_SERVER
           
static String DRIVER_SERVER
           
 
Constructor Summary
ProxyDriverRegistry()
           
 
Method Summary
 void add(IDriver driver)
          Add a driver to the registry.
 IDriver getDriverNamed(String name)
           
 void remove(IDriver driver)
          Remove a driver from the registry
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ProxyDriverRegistry

public ProxyDriverRegistry()
Method Detail

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

SunSPOT API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.