HClientWatch class

Inheritance

Constructors

HClientWatch(HSkySparkClient _client, String _dis, HNum _desiredLease)

Properties

dis String
Debug display string used during "HProj.watchOpen"
read-only, override
id String
Unique watch identifier within a project database. [...]
read-only, override
isClosed bool
read-only
isOpen bool
Returns whether this watch is currently open.
read-only, override
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() Future
Close the watch and free up any state resources.
override
lease() HNum
Lease period or null if watch has not been opened yet.
override
pollChanges() Future<HGrid>
Poll for any changes to the subscribed records.
override
pollRefresh() Future<HGrid>
Poll all the subscribed records even if there have been no changes.
override
sub(List<HRef> ids, {bool checked: true}) Future<HGrid>
Add a list of records to the subscription list and return their current representation. [...]
override
unsub(List<HRef> ids) Future<HGrid>
Remove a list of records from watch. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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