TypeChannelMessageDispatcher mixin
Handles sending messages for a TypeChannelMessenger.
This class handles sending messages to other TypeChannelMessengers to create, dispose, or invoke methods across type channels.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendCreateNewInstancePair(
String channelName, PairedInstance pairedInstance, List< Object?> arguments, {required bool owner}) → Future<void> -
Instantiate a new object instance for type channel of
channelName
. -
sendDisposeInstancePair(
PairedInstance pairedInstance) → Future< void> -
Communicate to another TypeChannelMessenger to dispose the instance pair containing
pairedInstance
. -
sendInvokeMethod(
String channelName, PairedInstance pairedInstance, String methodName, List< Object?> arguments) → Future<Object?> -
Invoke a method on the object instance that
pairedInstance
represents. -
sendInvokeStaticMethod(
String channelName, String methodName, List< Object?> arguments) → Future<Object?> -
Invoke a static method for type channel of
channelName
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited