01: // Copyright (c) Corporation for National Research Initiatives
02: package org.python.rmi;
03:
04: import java.rmi.*;
05:
06: public class UnicastRemoteObject extends java.rmi.server.RemoteServer {
07: Remote remote;
08:
09: public UnicastRemoteObject() throws RemoteException {
10: this .remote = remote;
11: java.rmi.server.UnicastRemoteObject.exportObject(remote);
12: }
13:
14: private void readObject(java.io.ObjectInputStream in)
15: throws java.io.IOException,
16: java.lang.ClassNotFoundException {
17: java.rmi.server.UnicastRemoteObject.exportObject(remote);
18: }
19: }
|