net.rmi
Class ComputeServer
java.lang.Object
   java.rmi.server.RemoteObject
java.rmi.server.RemoteObject
       java.rmi.server.RemoteServer
java.rmi.server.RemoteServer
           java.rmi.server.UnicastRemoteObject
java.rmi.server.UnicastRemoteObject
               net.rmi.ComputeServer
net.rmi.ComputeServer
- All Implemented Interfaces: 
- java.io.Serializable, java.rmi.Remote, Computable
- public class ComputeServer 
- extends java.rmi.server.UnicastRemoteObject- implements Computable
- See Also:
- Serialized Form
 
 
| Methods inherited from class java.rmi.server.UnicastRemoteObject | 
| clone, exportObject, exportObject, exportObject, unexportObject | 
 
| Methods inherited from class java.rmi.server.RemoteServer | 
| getClientHost, getLog, setLog | 
 
| Methods inherited from class java.rmi.server.RemoteObject | 
| equals, getRef, hashCode, toString, toStub | 
 
| Methods inherited from class java.lang.Object | 
| getClass, notify, notifyAll, wait, wait, wait | 
 
ComputeServer
public ComputeServer()
              throws java.rmi.RemoteException
- Throws:
- java.rmi.RemoteException
println
public void println(java.io.Serializable o)
             throws java.rmi.RemoteException
- 
- Specified by:
- printlnin interface- Computable
 
- 
- Throws:
- java.rmi.RemoteException
 
main
public static void main(java.lang.String[] args)
                 throws java.rmi.RemoteException,
                        java.net.UnknownHostException
- 
 
- 
- Throws:
- java.rmi.RemoteException
- java.net.UnknownHostException
 
testGetLocalHost
public static void testGetLocalHost()
- 
 
- 
 
getLocalHost
public static java.net.InetAddress getLocalHost()
                                         throws java.net.UnknownHostException
- 
 
- 
- Throws:
- java.net.UnknownHostException