SunSPOT API V3.0


com.sun.spot.resourcesharing
Class LockCommand

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

public class LockCommand
extends RequestEnvelope


Constructor Summary
LockCommand(int isolateId, String resourceName, ResourceSharingScheme scheme)
           
 
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

LockCommand

public LockCommand(int isolateId,
                   String resourceName,
                   ResourceSharingScheme scheme)
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 V3.0


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