/** * 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); } }
/** * 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(); }