Class StreamResult
java.lang.Object
org.eclipse.mosaic.fed.cell.message.StreamResult
Generic message for stream modules (can be either Up or Down).
-
Constructor Summary
ConstructorsConstructorDescriptionStreamResult
(String regionId, long consumedBandwidth, TransmissionMode mode, String involvedNode, V2xMessage v2XMessage) Creates a newStreamResult
object. -
Method Summary
-
Constructor Details
-
StreamResult
public StreamResult(String regionId, long consumedBandwidth, TransmissionMode mode, String involvedNode, V2xMessage v2XMessage) Creates a newStreamResult
object.- Parameters:
regionId
- Name of the region.consumedBandwidth
- Bandwidth used for the stream.mode
- Transmission mode for the stream.involvedNode
- Node involved in the transmission.v2XMessage
- Transmitted message.
-
-
Method Details
-
getRegionId
Returns the name of the region where the stream is occurred.- Returns:
- Name of the region.
-
getConsumedBandwidth
public long getConsumedBandwidth() -
getV2xMessage
-
getMode
-
getInvolvedNode
-
hashCode
public int hashCode() -
equals
-