SunSPOT API V5.0


com.sun.spot.interisolate
Class BooleanReplyEnvelope

java.lang.Object
  extended by com.sun.squawk.io.mailboxes.Envelope
      extended by com.sun.spot.interisolate.ReplyEnvelope
          extended by com.sun.spot.interisolate.BooleanReplyEnvelope

public class BooleanReplyEnvelope
extends ReplyEnvelope

See Also:
for details This class allows boolean values to be returned from inter-isolate RPC calls.

Constructor Summary
BooleanReplyEnvelope(int requestUid, boolean val)
           
 
Method Summary
 boolean getBooleanContents()
           
 Object getContents()
          Return the contents of the envelope.
 
Methods inherited from class com.sun.spot.interisolate.ReplyEnvelope
checkForRuntimeException, checkForThrowable, 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

BooleanReplyEnvelope

public BooleanReplyEnvelope(int requestUid,
                            boolean val)
Method Detail

getContents

public Object getContents()
Description copied from class: Envelope
Return the contents of the envelope. This should only be called by the receiver of the envelope. All implementations should call checkCallContext.

Specified by:
getContents in class Envelope
Returns:
the contents of the envelope

getBooleanContents

public boolean getBooleanContents()

SunSPOT API V5.0


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