Beispiel #1
0
 /**
  * Fills the content of this object with information retrived from a stream.
  *
  * @param the stream used in the serialization process.
  */
 public void unmarshal(Stream b) throws MarshalException {
   this.initialize();
   for (int i = b.readInt(); i > 0; i--) {
     RemoteReference r = (RemoteReference) b.readObject();
     this.attach(r);
   }
 }
Beispiel #2
0
 /**
  * Fills the content of this object with information retrived from a stream.
  *
  * @param the stream used in the serialization process.
  */
 public void unmarshal(Stream b) throws MarshalException {
   this.mr = (MultiReference) b.readObject();
 }