Message class
- Inheritance
-
- Object
- EventManager
- Message
Properties
-
data
→ Map<
String, dynamic> ? -
no setter
- direction → String?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
listeners
↔ Map<
Type, List> -
getter/setter pairinherited
- local_identity → NameAddrHeader?
-
no setter
- remote_identity → NameAddrHeader?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
accept(
Map< String, dynamic> options) → void -
addAllEventHandlers(
EventManager other) → void -
add all event handlers from an other instance of EventManager to this one.
inherited
-
close(
) → void -
emit<
T extends EventType> (T event) → void -
send the supplied event to all of the listeners that are subscribed to that EventType
inherited
-
hasListeners(
EventType event) → bool -
returns true if there are any listeners associated with the EventType for this instance of EventManager
inherited
-
init_incoming(
IncomingRequest request) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
on<
T extends EventType> (T eventType, void listener(T event)) → void -
call "on" to subscribe to events of a particular type
inherited
-
reject(
Map< String, dynamic> options) → void - Reject the incoming Message Only valid for incoming Messages
-
remove<
T extends EventType> (T eventType, void listener(T event)?) → void -
inherited
-
send(
String target, String body, [Map< String, dynamic> ? options]) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited