ist.palcom.ais.source
Class SimulatedAIS

java.lang.Object
  extended by ist.palcom.ais.source.SimulatedAIS
All Implemented Interfaces:
AISSource

public class SimulatedAIS
extends java.lang.Object
implements AISSource

Reads AIS strings from a file and processes them as if they were real AIS messages.


Constructor Summary
SimulatedAIS(PalcomScheduler scheduler, java.lang.String file)
           
 
Method Summary
 void start(AISListener callback)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimulatedAIS

public SimulatedAIS(PalcomScheduler scheduler,
                    java.lang.String file)
Method Detail

start

public void start(AISListener callback)
Specified by:
start in interface AISSource

stop

public void stop()
Specified by:
stop in interface AISSource