SunSPOT API V3.0


Uses of Class
com.sun.spot.resourcesharing.ResourceSharingScheme

Packages that use ResourceSharingScheme
com.sun.spot.resourcesharing The resource sharing framework exists to support people writing device drivers. 
 

Uses of ResourceSharingScheme in com.sun.spot.resourcesharing
 

Fields in com.sun.spot.resourcesharing declared as ResourceSharingScheme
static ResourceSharingScheme ResourceSharingScheme.EXCLUSIVE
          The requestor requires fully exclusive access to the resource.
static ResourceSharingScheme ResourceSharingScheme.EXCLUSIVE_WRITE
          The requestor requires exclusive write access to the resource, but concurrent READ access is permitted.
static ResourceSharingScheme ResourceSharingScheme.READ
          The requestor requires read access to the resource.
static ResourceSharingScheme ResourceSharingScheme.WRITE
          The requestor requires write access to the resource, but concurrent READ and/or WRITE access is permitted.
 

Methods in com.sun.spot.resourcesharing that return ResourceSharingScheme
static ResourceSharingScheme ResourceSharingScheme.schemeMatching(ResourceSharingScheme scheme)
          Return the instance that matches the argument.
 

Methods in com.sun.spot.resourcesharing with parameters of type ResourceSharingScheme
 void ResourceRegistryMaster.adjustLock(int isolateId, String resourceName, ResourceSharingScheme oldScheme, ResourceSharingScheme newScheme)
           
 void ProxyResourceRegistryMaster.adjustLock(int isolateId, String resourceName, ResourceSharingScheme oldScheme, ResourceSharingScheme newScheme)
           
 IResourceHandle ResourceRegistryChild.adjustLock(IResourceHandle handle, ResourceSharingScheme newScheme)
           
 IResourceHandle IResourceRegistry.adjustLock(IResourceHandle handle, ResourceSharingScheme scheme)
          Attempt to change the ResourceSharingScheme associated with the handle.
 IResourceHandle SimpleResource.getHandle(ResourceSharingScheme scheme, boolean isLockedInADifferentIsolate)
           
 IResourceHandle IResource.getHandle(ResourceSharingScheme scheme, boolean isLockedInADifferentIsolate)
          Generate a handle for this resource.
 IResourceHandle ResourceRegistryChild.getResource(String resourceName, ResourceSharingScheme scheme)
           
 IResourceHandle IResourceRegistry.getResource(String resourceName, ResourceSharingScheme scheme)
          Request access to a resource.
 boolean ResourceRegistryMaster.lock(int isolateId, String resourceName, ResourceSharingScheme scheme)
           
 boolean ProxyResourceRegistryMaster.lock(int isolateId, String resourceName, ResourceSharingScheme scheme)
           
 IResourceHandle SimpleResource.lockAdjusted(IResourceHandle handle, ResourceSharingScheme oldScheme, ResourceSharingScheme newScheme)
           
 IResourceHandle IResource.lockAdjusted(IResourceHandle handle, ResourceSharingScheme oldScheme, ResourceSharingScheme newScheme)
          A previously generated handle is adjusting its ResourceSharingScheme.
static ResourceSharingScheme ResourceSharingScheme.schemeMatching(ResourceSharingScheme scheme)
          Return the instance that matches the argument.
 void ResourceRegistryMaster.unlock(int isolateId, String resourceName, ResourceSharingScheme scheme)
           
 void ProxyResourceRegistryMaster.unlock(int isolateId, String resourceName, ResourceSharingScheme scheme)
           
 

Constructors in com.sun.spot.resourcesharing with parameters of type ResourceSharingScheme
AdjustLockCommand(int isolateId, String resourceName, ResourceSharingScheme oldScheme, ResourceSharingScheme newScheme)
           
LockCommand(int isolateId, String resourceName, ResourceSharingScheme scheme)
           
UnlockCommand(int isolateId, String resourceName, ResourceSharingScheme scheme)
           
 


SunSPOT API V3.0


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