RelayTcpConnectionClosed class
- Implemented types
Constructors
- RelayTcpConnectionClosed({int tunnelId = 0, int connectionId = 0, bool clientFinished = false})
-
RelayTcpConnectionClosed.fromJson(Map<
String, dynamic> json) -
factory
- RelayTcpConnectionClosed.fromReader(TeleportObjectReader reader)
-
factory
- RelayTcpConnectionClosed.fromTeleport(Uint8List data)
-
factory
Properties
- clientFinished ↔ bool
-
True when the public client closed its sending side after its last bytes, which the agent passes
on to the app as EOF once those bytes are written; false when the connection was aborted
getter/setter pair
- connectionId ↔ int
-
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
Constants
- fieldIdClientFinished → const int
- fieldIdConnectionId → const int
- fieldIdTunnelId → const int
-
teleportMessageType
→ const TeleportMessageType<
RelayTcpConnectionClosed> - teleportOpcode → const int
- teleportVersion → const int