SunSPOT API V3.0


Package com.sun.spot.resourcesharing

The resource sharing framework exists to support people writing device drivers.

See:
          Description

Interface Summary
IResource This interface must be implemented by any object that is to be a shared resource.
IResourceHandle This interface must be implemented by objects generated by resources as handles to the resource.
IResourceRegistry The interface to the resource registry that controls access to shared resources.
 

Class Summary
AdjustLockCommand  
LockCommand  
ProxyResourceRegistryMaster  
RegisterCommand  
ResourceRegistryChild  
ResourceRegistryMaster  
ResourceSharingScheme An enumerated type that defines the different sharing schemes for shared resources.
SimpleResource A simple implementation of the IResource interface that can be used as it is, or extended for a more complex use.
SimpleResourceHandle A simple implementation of IResourceHandle that can be used as is or extended.
UnlockAllCommand  
UnlockCommand  
 

Exception Summary
ResourceSharingException A problem has occurred during a resource sharing operation.
ResourceUnavailableException The resource is not currently available.
 

Package com.sun.spot.resourcesharing Description

The resource sharing framework exists to support people writing device drivers. It facilitates the locking of resources so that access to hardware resources from multiple isolates can be safely coordinated.

See Also:
for more details.

SunSPOT API V3.0


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