Serializer class

This is a serializer for JSON messages. It is used to initialize an AbstractTransport object.

Inheritance

Constructors

Serializer()

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

deserialize(Uint8List? jsonMessage) AbstractMessage?
Converts a uint8 JSON message into a WAMP message object
override
deserializeFromString(String jsonMessage) AbstractMessage?
Converts a string JSON message into a WAMP message object
deserializePPT(Uint8List binPayload) → PPTPayload?
Converts a uint8 JSON message into a PPT Payload Object
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(AbstractMessage message) Uint8List
Converts a WAMP message object into a uint8 json message
override
serializePPT(PPTPayload pptPayload) Uint8List
Converts a PPT Payload Object into a uint8 array
override
serializeToString(AbstractMessage message) String
Converts a WAMP message object into a string json message
toString() String
A string representation of this object.
inherited

Operators

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