Connection class

A connection to a ECoS with more sophisticated control

This class supports the direct answer of Request and splits the Event from the rest of the Reply Stream so they can be listened to as a stream.

Constructors

Connection(ConnectionSettings connectionSettings)
Creates a connection with a supplied SimpleConnection

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

close() → void
Closes all event Streams and closes the SimpleConnection
getEvents(int id) Stream<Event>
Subscribes to the Events of an object with the specified id [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
send(Request request) Future<Reply>
Sends a request to the ECoS and returns the Reply in a Future
toString() String
A string representation of this object. [...]
inherited

Operators

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