RelayTcpData class

Implemented types

Constructors

RelayTcpData({int tunnelId = 0, int connectionId = 0, Uint8List? data})
RelayTcpData.fromJson(Map<String, dynamic> json)
factory
RelayTcpData.fromReader(TeleportObjectReader reader)
factory
RelayTcpData.fromTeleport(Uint8List data)
factory

Properties

connectionId ↔ int
getter/setter pair
data ↔ Uint8List
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tunnelId ↔ int
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toProtocolMessage(int senderId, {ProtocolMessageOverrides? overrides}) → ProtocolMessage
Frames the message under its type's opcode and payload version. The type's default flags (unreliable for an unreliable message) are added to overrides' own.
override
toString() → String
A string representation of this object.
inherited
toTeleport() → Uint8List
writeTo(TeleportObjectWriter scope) → void

Operators

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