WatchtowerHub class
Methods
-
config<T>(String path)
→ T
-
Fetches a configuration value from
ConfigService.
inherited
-
configObject<T extends TransferObjectBase>(String path, TransferBean<T> bean)
→ T
-
Fetches a configuration value from
ConfigService and parse it into the
TransferObject.
inherited
-
ephemeral<T>(String topic, {TransferBean<T>? bean})
→ EphemeralHubEventSocket<T>
-
TODO DOCS
inherited
-
event<T>(String topic, {TransferBean<T>? bean})
→ HubEventSocket<T>
-
TODO DOCS
inherited
-
initialize()
→ Future<void>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
publish<T>(String topic, T event)
→ Future<void>
-
inherited
-
shutdown()
→ Future<void>
-
inherited
-
subscribe<T>(String topic, {TransferBean<T>? bean, int? prefetch})
→ Stream<HubEvent<T>>
-
Subscribes to a topic of an EventHub.
inherited
-
subscribePrivate<T>(String topic, {TransferBean<T>? bean, int? prefetch})
→ Stream<HubEvent<T>>
-
Subscribes to a topic of an EventHub.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited