Interface LaneGetLength

All Known Implementing Classes:
LaneGetLength, LaneGetLength

public interface LaneGetLength
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(Bridge bridge, String laneId)
    This method executes the command with the given arguments and returns the length of the lane.
  • Method Details

    • execute

      This method executes the command with the given arguments and returns the length of the lane.
      Parameters:
      bridge - Connection to SUMO.
      laneId - Id of the lane.
      Returns:
      The length of the lane.
      Throws:
      CommandException - if the status code of the response is ERROR. The connection to SUMO is still available.
      InternalFederateException - if some serious error occurs during writing or reading. The connection to SUMO is shut down.