ChannelId class

A logical channel identifier, scoped to a single physical connection.

Channels multiplex independent streams (sessions, future tunnels) over one connection, SSH-style. The value is a uint32; 0 is reserved for connection-level control and is not a valid session channel.

Constructors

ChannelId(int value)
Wraps a channel id value.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
isControl bool
Whether this is the reserved control channel.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
The numeric channel id (0..0xFFFFFFFF).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Constants

control → const ChannelId
The reserved connection-control channel (0).