de.willuhn.jameica.xmlrpc.server
Class EchoServiceImpl
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
de.willuhn.jameica.xmlrpc.server.EchoServiceImpl
- All Implemented Interfaces:
- de.willuhn.datasource.Service, EchoService, java.io.Serializable, java.rmi.Remote
public class EchoServiceImpl
- extends java.rmi.server.UnicastRemoteObject
- implements EchoService
Implementierung des Beispiel-Echo-Services.
- See Also:
- Serialized Form
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
|
Method Summary |
java.lang.String |
echo(java.lang.String text)
Liefert den uebergebenen Text als Echo zurueck. |
java.lang.String |
getName()
|
boolean |
isStartable()
|
boolean |
isStarted()
|
void |
start()
|
void |
stop(boolean arg0)
|
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| 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 |
EchoServiceImpl
public EchoServiceImpl()
throws java.rmi.RemoteException
- ct.
- Throws:
java.rmi.RemoteException
echo
public java.lang.String echo(java.lang.String text)
throws java.rmi.RemoteException
- Description copied from interface:
EchoService
- Liefert den uebergebenen Text als Echo zurueck.
- Specified by:
echo in interface EchoService
- Parameters:
text - der Text.
- Returns:
- der Text zurueck.
- Throws:
java.rmi.RemoteException- See Also:
EchoService.echo(java.lang.String)
getName
public java.lang.String getName()
throws java.rmi.RemoteException
- Specified by:
getName in interface de.willuhn.datasource.Service
- Throws:
java.rmi.RemoteException- See Also:
Service.getName()
isStartable
public boolean isStartable()
throws java.rmi.RemoteException
- Specified by:
isStartable in interface de.willuhn.datasource.Service
- Throws:
java.rmi.RemoteException- See Also:
Service.isStartable()
isStarted
public boolean isStarted()
throws java.rmi.RemoteException
- Specified by:
isStarted in interface de.willuhn.datasource.Service
- Throws:
java.rmi.RemoteException- See Also:
Service.isStarted()
start
public void start()
throws java.rmi.RemoteException
- Specified by:
start in interface de.willuhn.datasource.Service
- Throws:
java.rmi.RemoteException- See Also:
Service.start()
stop
public void stop(boolean arg0)
throws java.rmi.RemoteException
- Specified by:
stop in interface de.willuhn.datasource.Service
- Throws:
java.rmi.RemoteException- See Also:
Service.stop(boolean)