SunSPOT API V3.0


com.sun.spot.resourcesharing
Class RegisterCommand

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

public class RegisterCommand
extends RequestEnvelope


Constructor Summary
RegisterCommand(String resourceName)
           
 
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

RegisterCommand

public RegisterCommand(String resourceName)
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.