Package nl.tno.imb.mc
Class ModelEvent
java.lang.Object
nl.tno.imb.mc.ModelEvent
- All Implemented Interfaces:
SelfWrapper
public abstract class ModelEvent extends Object implements SelfWrapper
The IMB Model events.
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version Oct 14, 2016
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
Constructors Constructor Description ModelEvent() -
Method Summary
Modifier and Type Method Description abstract voidprepare(TByteBuffer payload)Prepare this ModelEvent for transmission over IMB.abstract voidqWrite(TByteBuffer payload)Transmit this ModelEvent over IMB.
-
Constructor Details
-
ModelEvent
public ModelEvent()
-
-
Method Details
-
prepare
Prepare this ModelEvent for transmission over IMB.- Specified by:
preparein interfaceSelfWrapper- Parameters:
payload- TByteBuffer; the transmit buffer
-
qWrite
Transmit this ModelEvent over IMB.- Specified by:
qWritein interfaceSelfWrapper- Parameters:
payload- TByteBuffer; the transmit buffer
-