Interface LaneSetAllow
-
- All Known Implementing Classes:
LaneSetAllow
,LaneSetAllow
public interface LaneSetAllow
This class represents the SUMO command which sets the allowed classes to a specific lane.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
execute(Bridge bridge, String laneId, List<String> allowedVClasses)
This method executes the command with the given arguments and sets the allowed vehicle classes vClasses.
-
-
-
Method Detail
-
execute
void execute(Bridge bridge, String laneId, List<String> allowedVClasses) throws CommandException, InternalFederateException
This method executes the command with the given arguments and sets the allowed vehicle classes vClasses.- Parameters:
bridge
- Connection to SUMO.laneId
- Id of the lane.allowedVClasses
- Vehicle classes to allow.- 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.
-
-