"

2013 FRC Java API

"

com.sun.squawk.io.mailboxes
Interface ICopiable


public interface ICopiable

Interface for objects that may be passed in ObjectEnvelopes between Isolates. The copyFrom method allows a class to specify how objects should be copied. Note that an ICopiable object should a public no-args constructor in order to be copiable.


Method Summary
 void copyFrom(Object o)
          Set the state of this object based on the state of object o.
 

Method Detail

copyFrom

void copyFrom(Object o)
Set the state of this object based on the state of object o. This method should be careful not to store pointers to either the original or copied object. The copyFrom is likely to be called in the context of the sending Isolate, but this object is destined for use by the receiving Isolate.

Parameters:
o - the object the copy from

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"