SunSPOT API V5.0


com.sun.spot.resourcesharing
Class AdjustLockCommand

java.lang.Object
  extended by com.sun.squawk.io.mailboxes.Envelope
      extended by com.sun.spot.interisolate.RequestEnvelope
          extended by com.sun.spot.resourcesharing.AdjustLockCommand

public class AdjustLockCommand
extends RequestEnvelope


Constructor Summary
AdjustLockCommand(int isolateId, String resourceName, ResourceSharingScheme oldScheme, ResourceSharingScheme newScheme)
           
 
Method Summary
 ReplyEnvelope execute(Object context)
           
 
Methods inherited from class com.sun.spot.interisolate.RequestEnvelope
getContents, getUid
 
Methods inherited from class com.sun.squawk.io.mailboxes.Envelope
checkCallContext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdjustLockCommand

public AdjustLockCommand(int isolateId,
                         String resourceName,
                         ResourceSharingScheme oldScheme,
                         ResourceSharingScheme newScheme)
Method Detail

execute

public ReplyEnvelope execute(Object context)
                      throws Exception
Specified by:
execute in class RequestEnvelope
Parameters:
context - An arbitrary object that the request needs to execute itself
Returns:
a subclass of ReplyEnvelope representing the return value of the execution
Throws:
Exception

SunSPOT API V5.0


Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.