SunSPOT API V3.0


com.sun.squawk.io.mailboxes
Class ObjectEnvelope

java.lang.Object
  extended by com.sun.squawk.io.mailboxes.Envelope
      extended by com.sun.squawk.io.mailboxes.ObjectEnvelope

public class ObjectEnvelope
extends Envelope

A ObjectEnvelope can be used to pass a copy of an ICopiable object between isolates.


Field Summary
protected  ICopiable contents
           
 
Constructor Summary
ObjectEnvelope(ICopiable contents)
           
 
Method Summary
 Object getContents()
          Return the contents of the envelope.
 
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
 

Field Detail

contents

protected ICopiable contents
Constructor Detail

ObjectEnvelope

public ObjectEnvelope(ICopiable contents)
Method Detail

getContents

public Object getContents()
Return the contents of the envelope.

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

SunSPOT API V3.0


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