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
-
Method Details
-
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.
-