KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > python > rmi > UnicastRemoteObject


1 // Copyright (c) Corporation for National Research Initiatives
2
package org.python.rmi;
3 import java.rmi.*;
4
5 public class UnicastRemoteObject extends java.rmi.server.RemoteServer JavaDoc {
6     Remote remote;
7
8     public UnicastRemoteObject() throws RemoteException {
9         this.remote = remote;
10         java.rmi.server.UnicastRemoteObject.exportObject(remote);
11     }
12
13     private void readObject(java.io.ObjectInputStream JavaDoc in)
14         throws java.io.IOException JavaDoc, java.lang.ClassNotFoundException JavaDoc
15     {
16         java.rmi.server.UnicastRemoteObject.exportObject(remote);
17     }
18 }
19
Popular Tags