HubProvider<T> class
abstract
Interface class for generated Hub provider classes.
This is exclusively used to distinguish HubClients from HubProviders when resolving from IoC.
When implementing HubProvider, the implementation must also implement
the Hub Interface (T
).
- Inheritance
-
- Object
- BaseService
- HubProvider
Constructors
Properties
- configPath → ConfigPath?
-
finalinherited
- environment → Environment
-
Fetch the environment configuration from ConfigService.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
resources
→ List<
ResourceProvider< TransferObjectBase> > -
no setter
- 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
-
initialize(
) → Future< void> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shutdown(
) → Future< void> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited