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 SelfWrapperprepare in class ModelEventpayload - TByteBuffer; the transmit bufferpublic void qWrite(TByteBuffer payload)
qWrite in interface SelfWrapperqWrite in class ModelEventpayload - TByteBuffer; the transmit bufferCopyright © 2014–2016 Delft University of Technology. All rights reserved.