class NewEvent extends ModelEvent
ModelEvent.DeleteEvent, ModelEvent.ModelChangeEvent, ModelEvent.ModelCommand| Modifier and Type | Field and Description |
|---|---|
(package private) String |
controller
The controller.
|
(package private) String |
controllerPrivateEventName
Controller private event name.
|
(package private) String |
federation
The IMB federation.
|
(package private) String |
modelName
Name of the model.
|
(package private) int |
priority
The priority.
|
(package private) String |
privateEventName
Private event name.
|
(package private) ModelState |
state
The model state.
|
(package private) int |
uid
UID.
|
| Constructor and Description |
|---|
NewEvent(int uid,
String modelName,
String controller,
int priority,
ModelState state,
String federation,
String privateEventName,
String controllerPrivateEventName)
Construct a new NewEvent.
|
NewEvent(TByteBuffer payload)
Construct a new NewEvent from data received over IMB.
|
| 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 int uid
final String modelName
final String controller
final int priority
final ModelState state
final String federation
final String privateEventName
final String controllerPrivateEventName
public NewEvent(TByteBuffer payload)
payload - TByteBuffer; the received IMB datapublic NewEvent(int uid,
String modelName,
String controller,
int priority,
ModelState state,
String federation,
String privateEventName,
String controllerPrivateEventName)
uid - int; the uidmodelName - string; the name of the modelcontroller - String; the name of the controller (?)priority - int; the prioritystate - ModelState; the state of the modelfederation - String; the IMB federationprivateEventName - String; ???controllerPrivateEventName - String; ???public 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.