Event class

Event sent by the ECoS

Syntax:

<EVENT $id>
$id $argument
<END 0 (OK)>

Example:

<EVENT 20000>
20000 state[1]
<END 0 (OK)>

Constructors

Event({int id, int status, String statusMsg, List<ListEntry> entries})
Creates a Reply with the supplied parameters
Event.fromResponse(Response response)
Creates a Event from a Response
factory

Properties

argument Argument
Returns the first Argument from the first Entry
read-only
entries List<ListEntry>
The list entries (ListEntry*)
final
entry ListEntry
Returns the first ListEntry from entries
read-only
hashCode int
The hash code for this object. [...]
read-only, override
id int
The id of the Reply
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
status int
The status number (errno)
final
statusMsg String
The status message (errmsg)
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override