Class IMBTransformResult
java.lang.Object
org.opentrafficsim.imb.transceiver.IMBTransformResult
- All Implemented Interfaces:
Serializable
public class IMBTransformResult extends Object implements Serializable
Store the results of an IBM message transformation, as the aTByteBuffer message can only be parsed once.
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description IMBTransformResult(Object eventContent, nl.tudelft.simulation.event.EventListenerInterface eventListener)Store the results of an IBM message transformation, as the aTByteBuffer message can only be parsed once. -
Method Summary
Modifier and Type Method Description ObjectgetEventContent()nl.tudelft.simulation.event.EventListenerInterfacegetEventListener()
-
Constructor Details
-
IMBTransformResult
public IMBTransformResult(Object eventContent, nl.tudelft.simulation.event.EventListenerInterface eventListener)Store the results of an IBM message transformation, as the aTByteBuffer message can only be parsed once.- Parameters:
eventContent- Object; the event content to storeeventListener- EventListenerInterface; the event listener to store
-
-
Method Details
-
getEventContent
- Returns:
- eventContent Object; the stored event content
-
getEventListener
public final nl.tudelft.simulation.event.EventListenerInterface getEventListener()- Returns:
- eventListener EventListenerInterface; the stored event listener
-