BytecodeHandler |
0 |
Handler |
The configuration handler (CON) Used for installing services |
Both |
SubscriptionHandler |
1 |
Handler |
Adds a subscriber to a service |
Both |
TwoHandler |
2 |
Handler |
(Sequential) composition of two handlers |
Both |
… |
… |
… |
… |
… |
NineHandler |
9 |
Handler |
(Sequential) composition of nine handlers |
Both |
TreeHandler |
10 |
Handler |
(Sequential) composition of arbitrary number of handlers (uses more bytes) |
Both |
CheckAddressHandler |
11 |
Handler |
The content-based address handler check (CBA). Executes embedded handler if predicate holds. |
Both |
SetRouteHandler |
12 |
Handler |
Adds an entry into the routing table |
Both |
RouteHandler |
13 |
Handler |
Routes message to destination node. Embedded handler executes at destination only |
Both |
FloodHandler |
14 |
Handler |
Performs a flood of the message into the network. Embedded handler executes once on each node. |
Both |
NodeID |
15 |
System call |
Returns preset id of node. Superseded by the properties (see below) |
Both |
HasFunction |
16 |
System call |
Tests if a function ID is defined on a specific node |
Both |
HasService |
17 |
System call |
True if a specific service is installed on a node |
Both |
NodeType |
18 |
System call |
Returns preset type id of a node. Superseded by the properties (see below) |
Both |
Print |
19 |
Handler |
Prints all arguments to standard output. (Makes no sense on real nodes, unless if implemented as logging to flash.) |
Virtual only |
Time |
20 |
System call |
Returns the current (local) time (non-synchronized) |
Both |
SubscriptionRequest |
21 |
Handler |
Tells a node to subscribe to other nodes specified by a CBA id. (Sends out a message w/ the SubscriptionHandler) |
Both |
InvokeHandler |
22 |
Handler |
Puts handler arguments into the local message queue as an incoming message. |
Virtual only |
SetLeds |
23 |
System call |
Turns leds on/off |
Both |
GetProperty |
24 |
System call |
Retrieves the value of the key/value pair with specified key |
Virtual only |
SetProperty |
25 |
System call |
Sets a key/value pair |
Virtual only |
DelProperty |
26 |
System call |
Removes a key/value pair |
Virtual only |
SetPower |
27 |
System call |
Sets transmission power |
Virtual only |