ist.palcom.services.ais
Class AISDevice

java.lang.Object
  extended by ist.palcom.device.AbstractDevice
      extended by ist.palcom.device.AbstractUDPDevice
          extended by ist.palcom.services.ais.AISDevice
All Implemented Interfaces:
java.lang.Runnable

public class AISDevice
extends AbstractUDPDevice

Starts an AIS device running an AIS service. If no arguments are specified, it will connect to COM4. For simulation use, parse a simulation file as argument.


Field Summary
 
Fields inherited from class ist.palcom.device.AbstractDevice
context, scheduler
 
Constructor Summary
AISDevice(DeviceID deviceID, java.lang.String[] args)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class ist.palcom.device.AbstractUDPDevice
createDeviceContext
 
Methods inherited from class ist.palcom.device.AbstractDevice
getDeviceContext, getDeviceInfo, getName, getRootPath, initDevice, run, safePutEvent, setHeartBeatPeriod, stop, stopDevice
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AISDevice

public AISDevice(DeviceID deviceID,
                 java.lang.String[] args)
          throws java.io.IOException
Throws:
java.io.IOException
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception