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.


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


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


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. [...]
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. [...]


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