Call class

The WAMP Call massage

Inheritance

Constructors

Call(int requestId, String procedure, {CallOptions? options, List? arguments, Map<String, dynamic>? argumentsKeywords})
Creates a WAMP Call message with a requestId that is kind of like a transaction identifier and a procedure that was registered to the router before. The options field may be passed to configure the call

Properties

arguments ↔ List?
Positional arguments, decoded on first access when retained lazily.
getter/setter pairinherited
argumentsKeywords ↔ Map<String, dynamic>?
Keyword arguments, decoded on first access when retained lazily.
getter/setter pairinherited
debugEncodedArgumentsBytes → Uint8List?
Encoded positional arguments retained for diagnostics and tests.
no setterinherited
debugEncodedArgumentsKeywordsBytes → Uint8List?
Encoded keyword arguments retained for diagnostics and tests.
no setterinherited
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
options ↔ CallOptions?
getter/setter pair
procedure ↔ String
getter/setter pair
requestId ↔ int
getter/setter pair
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 provider without forcing retained payload bytes to decode.
inherited
attachE2eeRuntimeContext(WampE2eeRuntimeContext? runtimeContext) → void
Attaches runtimeContext without 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
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
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 payload as 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
toLazyPayload({Object? anchor}) → LazyMessagePayload
Exposes this message as a lazy payload view without eager re-encoding.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited