Class BuoyStatusData

java.lang.Object
networkTransfer.receive.BuoyStatusData
All Implemented Interfaces:
Serializable, ManagedParameters

public class BuoyStatusData extends Object implements Serializable, ManagedParameters
Separate out from BuoyStatusDataunit so that it can be serialized
Author:
dg50
See Also:
  • Constructor Details

    • BuoyStatusData

      public BuoyStatusData(int buoyId1, int buoyId2, int channelMap)
  • Method Details

    • getBuoyId1

      public int getBuoyId1()
      Returns:
      the buoyId1
    • setBuoyId1

      public void setBuoyId1(int buoyId1)
      Parameters:
      buoyId1 - the buoyId1 to set
    • getBuoyId2

      public int getBuoyId2()
      Returns:
      the buoyId2
    • setBuoyId2

      public void setBuoyId2(int buoyId2)
      Parameters:
      buoyId2 - the buoyId2 to set
    • getSerialversionuid

      public static long getSerialversionuid()
      Returns:
      the serialversionuid
    • getGenericStringPairs

      public Hashtable<String,BuoyStatusValue> getGenericStringPairs()
      Returns:
      the genericStringPairs
    • getChannelMap

      public int getChannelMap()
      Returns:
      the channelMap
    • setChannelMap

      public void setChannelMap(int channelMap)
      Parameters:
      channelMap - the channelMap to set
    • getLastDataTime

      public long getLastDataTime()
      Returns:
      the lastDataTime
    • setLastDataTime

      public void setLastDataTime(long lastDataTime)
      Parameters:
      lastDataTime - the lastDataTime to set
    • getIpAddr

      public String getIpAddr()
      Returns:
      the ipAddr
    • setIpAddr

      public void setIpAddr(String ipAddr)
      Parameters:
      ipAddr - the ipAddr to set
    • getCreationTime

      public long getCreationTime()
      Returns:
      the creationTime
    • setCreationTime

      public void setCreationTime(long creationTime)
      Parameters:
      creationTime - the creationTime to set
    • getParameterSet

      public PamParameterSet getParameterSet()
      Description copied from interface: ManagedParameters
      Get a set of data that describes all of the parameters in a class
      Specified by:
      getParameterSet in interface ManagedParameters
      Returns:
      description of the parameters in a class.
    • toString

      public String toString()
      Overrides:
      toString in class Object