class InitEvent extends ModelEvent
ModelEvent.DeleteEvent, ModelEvent.ModelChangeEvent, ModelEvent.ModelCommand
Modifier and Type | Field and Description |
---|---|
(package private) long |
linkId
Id of the link.
|
(package private) String |
modelName
Model name.
|
(package private) String |
modelPrivateEventName
Private event name.
|
(package private) int |
uid
UID.
|
Constructor and Description |
---|
InitEvent(long linkId,
int uid,
String modelName,
String modelPrivateEventName)
Construct an InitEvent.
|
InitEvent(TByteBuffer payload)
Construct an InitEvent from a TByteBuffer.
|
Modifier and Type | Method and Description |
---|---|
void |
prepare(TByteBuffer payload)
Prepare this ModelEvent for transmission over IMB.
|
void |
qWrite(TByteBuffer payload)
Transmit this ModelEvent over IMB.
|
final long linkId
final int uid
final String modelName
final String modelPrivateEventName
public InitEvent(TByteBuffer payload)
payload
- TByteBuffer; the received IMB datapublic void prepare(TByteBuffer payload)
prepare
in interface SelfWrapper
prepare
in class ModelEvent
payload
- TByteBuffer; the transmit bufferpublic void qWrite(TByteBuffer payload)
qWrite
in interface SelfWrapper
qWrite
in class ModelEvent
payload
- TByteBuffer; the transmit bufferCopyright © 2014–2016 Delft University of Technology. All rights reserved.