net.sbbi.upnp.samples
Class HelloWorld

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteServer
          extended bynet.sbbi.upnp.remote.UnicastRemoteObject
              extended bynet.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

Constructor Summary
HelloWorld()
           
 
Method Summary
 java.lang.String say(java.lang.String myName)
          Remotely invocable method.
 
Methods inherited from class net.sbbi.upnp.remote.UnicastRemoteObject
clone, closePort, exportObject, exportObject, exportObject
 
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
 

Constructor Detail

HelloWorld

public HelloWorld()
           throws java.rmi.RemoteException
Method Detail

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.