MessageClient class abstract
Message client interface that implements both sender and consumer interfaces
- Implemented types
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- proto → MessageProto
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
handleMessage(
CallParams params) → Future< ReturnParams> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerInstance(
String id, dynamic instance) → void -
inherited
-
registerService(
String name, dynamic service) → void -
inherited
-
sendDestroyInstance(
dynamic instanceOrId, String? serviceName) → Future< ReturnParams> -
Send instance destroy request
inherited
-
sendEventEmit(
String instanceId, String serviceName, String callbackId, List args) → Future< ReturnParams> -
Send event trigger request
inherited
-
sendInstanceCall(
dynamic instanceOrId, String serviceName, String methodName, List args, [NativeMethodMeta? meta]) → Future< ReturnParams> -
Send instance method call request
inherited
-
sendInstanceEventAdd(
dynamic instanceOrId, String serviceName, String eventName) → Future< ReturnParams> -
Send instance event listener request
inherited
-
sendInstanceEventRemove(
dynamic instanceOrId, String serviceName, String eventName) → Future< ReturnParams> -
Send instance event remove request
inherited
-
sendInstanceGet(
dynamic instanceOrId, String serviceName, String property) → Future< ReturnParams> -
Send instance property get request
inherited
-
sendInstanceSet(
dynamic instanceOrId, String serviceName, String property, dynamic value) → Future< ReturnParams> -
Send instance property set request
inherited
-
sendNewInstanceCall(
String serviceName, List args, String instanceId, dynamic instance) → Future< ReturnParams> -
Send instance creation request
inherited
-
sendStaticCall(
String serviceName, String methodName, List args) → Future< ReturnParams> -
Send static call request
inherited
-
sendStaticCallSync(
String serviceName, String methodName, List args) → Future< ReturnParams> -
Send static call request
inherited
-
sendVarGet(
String serviceName, String varName) → Future< ReturnParams> -
Send variable get request
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited