net.sbbi.upnp.samples
Class HelloWorld

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

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
HelloWorld()
           
 
Method Summary
 String say(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
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HelloWorld

public HelloWorld()
           throws RemoteException
Throws:
RemoteException
Method Detail

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.