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:
- Serializable, Remote, HelloWorldInterface
public class HelloWorld
- extends UnicastRemoteObject
- implements HelloWorldInterface
Implementation of the HelloWorld example.
- Version:
- 1.0
- Author:
- SuperBonBon
- See Also:
- Serialized Form
HelloWorld
public HelloWorld()
throws RemoteException
- Throws:
RemoteException
say
public String say(String myName)
throws 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:
RemoteException - if the remote invocation fails.
Copyright © 2010. All Rights Reserved.