Class EmulatorStream

java.lang.Object
networkTransfer.emulator.EmulatorStream

public class EmulatorStream extends Object
Handles generation of a single buoy emulation.
Author:
Doug Gillespie
  • Field Details

  • Constructor Details

    • EmulatorStream

      public EmulatorStream(NetworkEmulator networkEmulator, int buoyId, LatLong emLatLong)
      Parameters:
      networkEmulator -
      buoyId -
      emLatLong -
  • Method Details

    • getNetworkEmulator

      public NetworkEmulator getNetworkEmulator()
      Returns:
      the networkEmulator
    • getBuoyId

      public int getBuoyId()
      Returns:
      the buoyId
    • getStatus

      public EmBuoyStatus getStatus()
      Returns:
      the status
    • start

      public boolean start()
    • stop

      public void stop()
    • sendDataUnit

      public int sendDataUnit(PamDataBlock dataBlock, PamDataUnit dataUnit, long timeOffset)