Class SerialProtocol.Message

java.lang.Object
com.inertia.promove.SerialProtocol.Message
Enclosing class:
SerialProtocol

public class SerialProtocol.Message
extends java.lang.Object
class for parsing and holding serial message data
  • Method Summary

    Modifier and Type Method Description
    java.util.Vector<Command> getCommands()
    Get a Vector of received Commands.
    java.util.Vector<Config> getConfigs()
    Get a Vector of received Configurations.
    int getNodeID()
    Get the nodeID the data originated from.
    java.util.Vector<ProMoveSamples.Sample> getSamples()
    Get a Vector of received Samples.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • getSamples

      public java.util.Vector<ProMoveSamples.Sample> getSamples()
      Get a Vector of received Samples.
      Returns:
      Vector with received Samples or empty Vector
    • getCommands

      public java.util.Vector<Command> getCommands()
      Get a Vector of received Commands.
      Returns:
      Vector with received Commands or empty Vector
    • getConfigs

      public java.util.Vector<Config> getConfigs()
      Get a Vector of received Configurations.
      Returns:
      Vector with received Configs or empty Vector
    • getNodeID

      public int getNodeID()
      Get the nodeID the data originated from.
      Returns:
      the nodeID.
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
      Returns:
      representation of complete message