Ravn::Net::
Message class
Superclass | Ravn::Message |
Included Modules |
|
A message passed between nodes on a LAN.
Constants
- OPTIONAL_FIELDS
An Array of Symbols containing the names of optional fields in addition to the superclass
- REQUIRED_FIELDS
An Array of Symbols containing the names of required fields in addition to the superclass.
- VALID_FIELDS
An Array of Symbols containing the names of all valid fields in addition to the superclass
Attributes
- callsign RW
The callsign associated with the event
- ce RW
The (optional) ce of the event
- detail RW
The (optional) detail of the event
- hae RW
The (optional) hae (decimal height-above-ellipsoid in meters) of the event
- item RW
The (optional) item of the event
- le RW
The (optional) le of the event
- opex RW
The (optional) opex of the event
- origin_event R
The ZRE event that sent this message (if there was one)
- pos RW
The (optional) pos (tuple of decimal latitude, longitude) of the event
- priority RW
The (optional) priority of the event
- source R
The unique ID of the message’s source
- to RW
The callsign of the intended recipient of the message
- version R
The version of the Ravn-Net protocol.
Public Class Methods
Create a new event of the specified type
and with the given payload
.
Return an Array of Symbols that describe which fields are optional for messages.
Return an Array of Symbols that describe which fields are required for messages.
Return an Array of Symbols that describe which fields are valid for messages.
Public Instance Methods
Return the detail part of the inspect output.