net.rmi.rmiSynth
Class RMIServer
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
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:
getBenchMark
in interface RMIInterface
- Throws:
java.rmi.RemoteException
hello
public void hello()
throws java.rmi.RemoteException
- Specified by:
hello
in interface RMIInterface
- Throws:
java.rmi.RemoteException
getHello
public java.lang.String getHello()
throws java.rmi.RemoteException
- Specified by:
getHello
in interface RMIInterface
- Throws:
java.rmi.RemoteException
multiplyBench
public void multiplyBench(long p0)
throws java.rmi.RemoteException
- Specified by:
multiplyBench
in 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