Sun SPOT API
Green Release  


com.sun.spot.peripheral.driver.proxy
Class ProxyDriverRequestEnvelope

java.lang.Object
  extended by com.sun.squawk.io.mailboxes.Envelope
      extended by com.sun.spot.interisolate.RequestEnvelope
          extended by com.sun.spot.peripheral.driver.proxy.ProxyDriverRequestEnvelope
Direct Known Subclasses:
SetUpCommand, TearDownCommand

public abstract class ProxyDriverRequestEnvelope
extends RequestEnvelope


Constructor Summary
ProxyDriverRequestEnvelope(String driverName)
           
 
Method Summary
abstract  ReplyEnvelope execute(IDriver driver)
           
 ReplyEnvelope execute(Object context)
           
 
Methods inherited from class com.sun.spot.interisolate.RequestEnvelope
getContents, sendOn
 
Methods inherited from class com.sun.squawk.io.mailboxes.Envelope
checkCallContext, getReplyAddress, getToAddress
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyDriverRequestEnvelope

public ProxyDriverRequestEnvelope(String driverName)
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:
Throws:
Exception

execute

public abstract ReplyEnvelope execute(IDriver driver)

Sun SPOT API
Green Release  


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