Class HelloWorldImpl
java.lang.Object
org.newsclub.net.unix.demo.rmi.HelloWorldImpl
- All Implemented Interfaces:
Remote, HelloWorld
The implementation of the very simple
HelloWorld service.- Author:
- Christian Kohlschütter
-
Constructor Summary
ConstructorsConstructorDescriptionHelloWorldImpl(org.newsclub.net.unix.rmi.AFNaming naming) Creates a newHelloWorldimplementation. -
Method Summary
-
Constructor Details
-
HelloWorldImpl
public HelloWorldImpl(org.newsclub.net.unix.rmi.AFNaming naming) Creates a newHelloWorldimplementation.- Parameters:
naming- The naming instance to use.
-
-
Method Details
-
hello
Description copied from interface:HelloWorldReturns "Hello".- Specified by:
helloin interfaceHelloWorld- Returns:
- "Hello"
- Throws:
IOException- if the operation fails.
-
world
Description copied from interface:HelloWorldReturns "World" (or something else?).- Specified by:
worldin interfaceHelloWorld- Returns:
- "World" (usually)
- Throws:
IOException- if the operation fails.
-