Class PersonSubscriptionTraciReader
java.lang.Object
org.eclipse.mosaic.fed.sumo.bridge.traci.reader.AbstractTraciResultReader<T>
org.eclipse.mosaic.fed.sumo.bridge.traci.reader.AbstractSubscriptionTraciReader<PersonSubscriptionResult>
org.eclipse.mosaic.fed.sumo.bridge.traci.reader.PersonSubscriptionTraciReader
public class PersonSubscriptionTraciReader
extends AbstractSubscriptionTraciReader<PersonSubscriptionResult>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.mosaic.fed.sumo.bridge.traci.reader.AbstractTraciResultReader
AbstractTraciResultReader.Matcher<T> -
Field Summary
Fields inherited from class org.eclipse.mosaic.fed.sumo.bridge.traci.reader.AbstractTraciResultReader
numBytesRead, totalBytesLeft -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleSubscriptionVariable(PersonSubscriptionResult result, int varId, Object varValue) This method enables to handle the subscription variable of the person.Methods inherited from class org.eclipse.mosaic.fed.sumo.bridge.traci.reader.AbstractSubscriptionTraciReader
getTypeBasedTraciReader, readFromStreamMethods inherited from class org.eclipse.mosaic.fed.sumo.bridge.traci.reader.AbstractTraciResultReader
getNumberOfBytesRead, read, readByte, readDouble, readFloat, readFullyByLength, readInt, readString, readUnsignedByte
-
Constructor Details
-
PersonSubscriptionTraciReader
public PersonSubscriptionTraciReader()
-
-
Method Details
-
handleSubscriptionVariable
protected void handleSubscriptionVariable(PersonSubscriptionResult result, int varId, Object varValue) This method enables to handle the subscription variable of the person.- Specified by:
handleSubscriptionVariablein classAbstractSubscriptionTraciReader<PersonSubscriptionResult>- Parameters:
result- The result of the person.varId- The Id of the variable.varValue- The value of the variable.
-