Class IntraVehicleMsg

java.lang.Object
org.eclipse.mosaic.app.tutorial.message.IntraVehicleMsg

public final class IntraVehicleMsg extends Object
Example class used to demonstrate the communication between applications that run on the same vehicle. Uses two example fields to show the general idea.
  • Constructor Details

    • IntraVehicleMsg

      public IntraVehicleMsg(String origin, int id)
  • Method Details

    • getId

      public int getId()
    • getOrigin

      public String getOrigin()
    • toString

      public String toString()
      Overrides:
      toString in class Object