Expand description
Global constants for the framework.
Constantsยง
- EVENT_
NUM - The number of
Event
s in the framework. - MAX_
DECOMPRESSED_ SIZE - The maximum size of a decompressed encoded
Machine
in bytes. Set to 1MB. This is a soft limit and can be increased if necessary. - MAX_
SAMPLED_ BLOCK_ DURATION - The maximum sampled blocking duration in a
State
, set to a day in microseconds. - MAX_
SAMPLED_ TIMEOUT - The maximum sampled timeout in a
State
, set to a day in microseconds. - MAX_
SAMPLED_ TIMER_ DURATION - The maximum sampled timer duration in a
State
, set to a day in microseconds. - STATE_
END - A pseudo-state that means the
Machine
should completely stop. - STATE_
MAX - The maximum number of
State
s aMachine
can have. - STATE_
SIGNAL - A pseudo-state that triggers a Signal
Event
in all other running machines. - VERSION
- The highest possible version of a
Machine
supported by this framework.