ist.palcom.services.echo
Class EchoDevice
java.lang.Object
ist.palcom.device.AbstractDevice
ist.palcom.device.AbstractUDPDevice
ist.palcom.services.echo.EchoDevice
- All Implemented Interfaces:
- java.lang.Runnable
public class EchoDevice
- extends AbstractUDPDevice
EchoDevice is an AbstractDevice with an EchoService. It is intended both for
the Pal-VM and the JVM.
|
Method Summary |
protected void |
initDevice()
The initDevice method is overridden for initiating the device (creating
and starting the service). |
static void |
main(java.lang.String[] args)
A main method that runs an EchoDevice. |
protected void |
stopDevice()
stopDevice is overridden for stopping the service. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EchoDevice
public EchoDevice(java.lang.String name,
DeviceID deviceID)
initDevice
protected void initDevice()
throws java.io.IOException
- The initDevice method is overridden for initiating the device (creating
and starting the service).
- Overrides:
initDevice in class AbstractDevice
- Throws:
java.io.IOException
stopDevice
protected void stopDevice()
throws java.io.IOException
- stopDevice is overridden for stopping the service.
- Overrides:
stopDevice in class AbstractDevice
- Throws:
java.io.IOException
main
public static void main(java.lang.String[] args)
- A main method that runs an EchoDevice.