net.rmi.rmiSynth
Class RMIServer
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.rmiSynth.RMIServer
net.rmi.rmiSynth.RMIServer
- All Implemented Interfaces: 
- java.io.Serializable, java.rmi.Remote, RMIInterface
- public class RMIServer 
- extends java.rmi.server.UnicastRemoteObject- implements RMIInterface
- 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 | 
 
RMIServer
public RMIServer(LocalServer _ls)
          throws java.rmi.RemoteException
- Throws:
- java.rmi.RemoteException
RMIServer
public RMIServer()
          throws java.rmi.RemoteException
- Throws:
- java.rmi.RemoteException
getBenchMark
public long getBenchMark()
                  throws java.rmi.RemoteException
- 
- Specified by:
- getBenchMarkin interface- RMIInterface
 
- 
- Throws:
- java.rmi.RemoteException
 
hello
public void hello()
           throws java.rmi.RemoteException
- 
- Specified by:
- helloin interface- RMIInterface
 
- 
- Throws:
- java.rmi.RemoteException
 
getHello
public java.lang.String getHello()
                          throws java.rmi.RemoteException
- 
- Specified by:
- getHelloin interface- RMIInterface
 
- 
- Throws:
- java.rmi.RemoteException
 
multiplyBench
public void multiplyBench(long p0)
                   throws java.rmi.RemoteException
- 
- Specified by:
- multiplyBenchin interface- RMIInterface
 
- 
- Throws:
- java.rmi.RemoteException
 
main
public static void main(java.lang.String[] args)
- 
 
- 
 
serverFactory
public static void serverFactory(LocalServer ls,
                                 java.lang.String serverName)
                          throws java.rmi.RemoteException,
                                 java.rmi.AlreadyBoundException
- Use the serverFactor to start the RMIServer
 with an arbitrary LocalServer instance.
 
- 
 
- 
- Throws:
- java.rmi.RemoteException
- java.rmi.AlreadyBoundException