SunSPOT API V6.0


Package com.sun.spot.resources

The new resource sharing framework to support writing device drivers and other system resources that can be used by MIDlets running in separate Isolates.

See:
          Description

Interface Summary
ICompositeResource Basic interface for a composite resource, i.e. one that contains other resources.
ILocking An interface to support exclusive locking of a resource.
IResource Basic interface for all resources (service, sensor, effector, etc.) so that they can be registered in the Resources Repository.
 

Class Summary
CompositeResource Minimal implementation of the ICompositeResource interface.
LockingCompositeResource Minimal implementation of the ICompositeResource & ILocking interfaces.
LockingResource Minimal implementation of the IResource & ILocking interfaces.
Resource Minimal implementation of the IResource interface.
Resources The repository of all registered Resources (services, sensors, effectors, etc.)
 

Exception Summary
ResourceUnavailableException Thrown when attempting to access a locked resource.
 

Package com.sun.spot.resources Description

The new resource sharing framework to support writing device drivers and other system resources that can be used by MIDlets running in separate Isolates. It facilitates the locking of resources so that access to hardware resources from multiple isolates can be safely coordinated.

See IResource and Resources for more details.


SunSPOT API V6.0


Copyright © 2006-2010 Oracle. All Rights Reserved.