Invocation class
- Inheritance
-
- Object
- AbstractMessage
- AbstractMessageWithPayload
- Invocation
Constructors
-
Invocation(int requestId, int registrationId, InvocationDetails details, {List? arguments, Map<
String, dynamic> ? argumentsKeywords})
Properties
- arguments ↔ List?
-
Positional arguments, decoded on first access when retained lazily.
getter/setter pairinherited-setteroverride-getter
-
argumentsKeywords
↔ Map<
String, dynamic> ? -
Keyword arguments, decoded on first access when retained lazily.
getter/setter pairinherited-setteroverride-getter
- debugEncodedArgumentsBytes → Uint8List?
-
Encoded positional arguments retained for diagnostics and tests.
no setterinherited
- debugEncodedArgumentsKeywordsBytes → Uint8List?
-
Encoded keyword arguments retained for diagnostics and tests.
no setterinherited
- details ↔ InvocationDetails
-
getter/setter pair
- e2eeProvider → WampE2eeProvider?
-
The provider attached for E2EE payload processing.
no setterinherited
- e2eeRuntimeContext → WampE2eeRuntimeContext?
-
Runtime context attached for E2EE payload processing.
no setterinherited
- hasDecodedPptPayload → bool
-
Whether the current argument view has already removed a PPT wrapper.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasLazyArguments → bool
-
Whether encoded positional arguments are waiting to be decoded.
no setterinherited
- hasLazyArgumentsKeywords → bool
-
Whether encoded keyword arguments are waiting to be decoded.
no setterinherited
- id ↔ int
-
getter/setter pairinherited
- lazyPayloadEncoding → LazyPayloadEncoding?
-
Serializer associated with the retained lazy argument slices.
no setterinherited
- registrationId ↔ int
-
getter/setter pair
- requestId ↔ int
-
getter/setter pair
- responseClosed → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transparentBinaryPayload ↔ Uint8List?
-
The optional binary payload carried outside regular WAMP arguments.
getter/setter pairinherited
- wireArguments → List?
-
Positional arguments in the original wire-level payload view.
no setterinherited
-
wireArgumentsKeywords
→ Map<
String, dynamic> ? -
Keyword arguments in the original wire-level payload view.
no setterinherited
Methods
-
attachE2eeProvider(
WampE2eeProvider? provider) → void -
Attaches
providerwithout forcing retained payload bytes to decode.inherited -
attachE2eeRuntimeContext(
WampE2eeRuntimeContext? runtimeContext) → void -
Attaches
runtimeContextwithout forcing retained payload bytes to decode.inherited -
copyPayloadTo(
AbstractMessageWithPayload message) → void -
Transfers the message payload to another message
inherited
-
ensureDecodedPayloadView(
{required String? pptScheme, required String? pptSerializer, required String? pptCipher, required String? pptKeyId}) → void -
Unpacks PPT/E2EE payloads in place only when a caller actually touches the
materialized payload getters. The original lazy bytes are retained so the
message can still be forwarded without forcing a re-encode.
inherited
-
isProgressive(
) → bool -
markPptPayloadDecoded(
) → void -
Marks the current argument view as already unwrapped from PPT.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onResponse(
void onData(AbstractMessageWithPayload message)) → void -
respondWith(
{LazyMessagePayload? lazyPayload, List? arguments, Map< String, dynamic> ? argumentsKeywords, bool isError = false, String? errorUri, YieldOptions? options}) → void -
restoreLazyPayload(
LazyMessagePayload payload) → void -
Rehydrates a materialized message from a shared lazy payload view without
forcing an eager decode. Packed PPT payloads are restored as outer
arguments so decode-on-access still works for classic getters.
inherited
-
retainLazyPayload(
LazyMessagePayload payload) → void -
Retains
payloadas the wire-level source for future forwarding.inherited -
setLazyPayload(
{Uint8List? argumentsBytes, PayloadListDecoder? argumentsDecoder, Uint8List? argumentsKeywordsBytes, PayloadMapDecoder? argumentsKeywordsDecoder, LazyPayloadEncoding? encoding}) → void -
Sets encoded payload slices that can be lazily decoded on demand.
inherited
-
toLazyInvocationPayload(
{Object? anchor}) → LazyInvocationPayload -
toLazyPayload(
{Object? anchor}) → LazyMessagePayload -
Exposes this message as a lazy payload view without eager re-encoding.
inherited
-
toPayload(
) → InvocationPayload -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited