public class CoreNotificationCodes extends Object
This class contains only core package notification codes.
0x80XXXXXX notification codes are reserved for core package.
Modifier and Type | Field and Description |
---|---|
static int |
ENTITY_ADDED
|
static int |
ENTITY_ALLOCATED_FLAG_CHANGED
Description: Thrown when this entity allocated flag is changed.
Notifier: AllocatableEntity Object: null |
static int |
ENTITY_ANCESTOR_CHANGED
|
static int |
ENTITY_CLONED
|
static int |
ENTITY_PARENT_CHANGED
|
static int |
ENTITY_REMOVED
|
static int |
FAILURE_STATE_CHANGED
Description: Thrown when the
FailureProneEntity.FailureState of this entity changes.Notifier: FailureProneEntity Object: null |
static int |
POWER_STATE_CHANGED
Description: Thrown when the
PoweredEntity.PowerState of this entity changes (is powered-on or powered-off).Notifier: PoweredEntity Object: null |
static int |
PROBE_VALUE_CHANGED
|
static int |
RUNNABLE_STATE_CHANGED
Description: Thrown when the
RunnableEntity.RunnableState of this entity changes (becomes completed, failed etc..).Notifier: RunnableEntity Object: null |
static int |
SIMULATOR_EVENT_PROCESSED
|
static int |
SIMULATOR_STARTED
|
static int |
SIMULATOR_STOPPED
Description: Thrown when the simulation stops.
|
static int |
SIMULATOR_TICK
Description: Thrown when the simulation time advances and before events of the current simulation time are processed.
Notifier: Simulator Object: null or |
static int |
SIMULATOR_TICK_PASSED
Description: Thrown when the simulator has processed all events at the current simulation time.
|
public static final int ENTITY_ADDED
public static final int ENTITY_REMOVED
public static final int ENTITY_PARENT_CHANGED
public static final int ENTITY_ANCESTOR_CHANGED
public static final int ENTITY_CLONED
public static final int ENTITY_ALLOCATED_FLAG_CHANGED
AllocatableEntity
public static final int FAILURE_STATE_CHANGED
FailureProneEntity.FailureState
of this entity changes.FailureProneEntity
public static final int POWER_STATE_CHANGED
PoweredEntity.PowerState
of this entity changes (is powered-on or powered-off).PoweredEntity
public static final int RUNNABLE_STATE_CHANGED
RunnableEntity.RunnableState
of this entity changes (becomes completed, failed etc..).RunnableEntity
public static final int SIMULATOR_STARTED
public static final int SIMULATOR_STOPPED
Simulator.hasMoreEvents()
to see
if the simulation has ended or not.Simulator
public static final int SIMULATOR_TICK
Simulator
public static final int SIMULATOR_TICK_PASSED
Simulator
public static final int SIMULATOR_EVENT_PROCESSED
public static final int PROBE_VALUE_CHANGED
public static String notificationCodeToString(int notification_code)