Package networkTransfer.receive
Class BuoyStatusData
java.lang.Object
networkTransfer.receive.BuoyStatusData
- All Implemented Interfaces:
Serializable,ManagedParameters
Separate out from BuoyStatusDataunit so that it can be serialized
- Author:
- dg50
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintlonglongGet a set of data that describes all of the parameters in a classstatic longvoidsetBuoyId1(int buoyId1) voidsetBuoyId2(int buoyId2) voidsetChannelMap(int channelMap) voidsetCreationTime(long creationTime) voidvoidsetLastDataTime(long lastDataTime) toString()
-
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
- 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
- Returns:
- the ipAddr
-
setIpAddr
- 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
Description copied from interface:ManagedParametersGet a set of data that describes all of the parameters in a class- Specified by:
getParameterSetin interfaceManagedParameters- Returns:
- description of the parameters in a class.
-
toString
-