public abstract class ModelEvent extends Object implements SelfWrapper
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Class and Description |
---|---|
(package private) class |
ModelEvent.DeleteEvent
Delete event.
|
(package private) class |
ModelEvent.ModelChangeEvent
Parse and store the content of an IMB model change event.
|
(package private) static class |
ModelEvent.ModelCommand
Commands handled by the command interpreter.
|
Constructor and Description |
---|
ModelEvent() |
Modifier and Type | Method and Description |
---|---|
abstract void |
prepare(TByteBuffer payload)
Prepare this ModelEvent for transmission over IMB.
|
abstract void |
qWrite(TByteBuffer payload)
Transmit this ModelEvent over IMB.
|
public abstract void prepare(TByteBuffer payload)
prepare
in interface SelfWrapper
payload
- TByteBuffer; the transmit bufferpublic abstract void qWrite(TByteBuffer payload)
qWrite
in interface SelfWrapper
payload
- TByteBuffer; the transmit bufferCopyright © 2014–2016 Delft University of Technology. All rights reserved.