DefaultMessagesResolver class
The DefaultMessagesResolver class is the default implementation of the MessagesResolver class.
- Inheritance
-
- Object
- MessagesResolver
- DefaultMessagesResolver
Constructors
- DefaultMessagesResolver(ApplicationConfig config)
- The MessagesResolver constructor is used to create a new instance of the MessagesResolver class.
Properties
- config → ApplicationConfig
-
The config property contains the application configuration.
finalinherited
-
filteredEventRoutes
→ Map<
Type, Map< String, List< >MessageContext> > -
The filteredEventRoutes property contains the filtered event routes of the application, based on transporter type.
final
-
filteredMessageRoutes
→ Map<
Type, Map< String, MessageContext> > -
The filteredMessageRoutes property contains the filtered message routes of the application, based on transporter type.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- resolvedAlready ↔ bool
-
The resolvedAlready property is used to check if the routes have been resolved already.
getter/setter pair
-
resolvedEventRoutes
→ Map<
String, List< MessageContext> > -
The resolvedEventRoutes property contains the resolved event routes of the application.
final
-
resolvedMessageRoutes
→ Map<
String, MessageContext> -
The resolvedMessageRoutes property contains the resolved message routes of the application.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
handleEvent(
MessagePacket packet, TransportAdapter< dynamic, TransportOptions> adapter) → Future<void> -
Handle an incoming event packet.
It does not return a response packet.
override
-
handleMessage(
MessagePacket packet, TransportAdapter< dynamic, TransportOptions> adapter) → Future<ResponsePacket?> -
Handle an incoming message packet and return a response packet if applicable.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
) → void -
Resolve the incoming message packet.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited