home *** CD-ROM | disk | FTP | other *** search
- package java.rmi;
-
- import java.io.IOException;
- import java.io.InputStream;
- import java.io.ObjectInputStream;
- import sun.rmi.server.MarshalInputStream;
-
- class MarshalledObject$MarshalledObjectInputStream extends MarshalInputStream {
- private ObjectInputStream locIn;
-
- MarshalledObject$MarshalledObjectInputStream(InputStream var1, InputStream var2) throws IOException {
- super(var1);
- this.locIn = var2 == null ? null : new ObjectInputStream(var2);
- }
-
- protected Object readLocation() throws IOException, ClassNotFoundException {
- return this.locIn == null ? null : this.locIn.readObject();
- }
- }
-