net.sbbi.upnp.samples
Class HelloWorld
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
net.sbbi.upnp.remote.UnicastRemoteObject
net.sbbi.upnp.samples.HelloWorld
- All Implemented Interfaces:
- HelloWorldInterface, java.rmi.Remote, java.io.Serializable
- public class HelloWorld
- extends UnicastRemoteObject
- implements HelloWorldInterface
Implementation of the HelloWorld example.
- Version:
- 1.0
- Author:
- SuperBonBon
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
say(java.lang.String myName)
Remotely invocable method. |
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 |
HelloWorld
public HelloWorld()
throws java.rmi.RemoteException
say
public java.lang.String say(java.lang.String myName)
throws java.rmi.RemoteException
- Description copied from interface:
HelloWorldInterface
- Remotely invocable method.
- Specified by:
say
in interface HelloWorldInterface
- Returns:
- the message of the remote object, such as "Hello, world!".
- Throws:
java.rmi.RemoteException
- if the remote invocation fails.
Copyright © 2005 SuperBonBon Industries. All Rights Reserved.