EventHubService class abstract
- Inheritance
-
- Object
- BaseService
- EventHubService
Constructors
- EventHubService([String? path])
Properties
- configPath → ConfigPath?
-
finalinherited
- environment → Environment
-
Fetch the environment configuration from ConfigService.
no setterinherited
- exchange → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
-
event<
T> (String topic, {TransferBean< T> ? bean}) → HubEventSocket<T> -
initialize(
) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
publish<
T> (String topic, T event) → Future< void> -
shutdown(
) → Future< void> -
override
-
subscribe<
T> (String topic, {TransferBean< T> ? bean, int? prefetch}) → Stream<HubEvent< T> > - Subscribes to a topic of an EventHub.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited