ConnectionStatus enum

An enumeration of the various status values for a connection.

This describes the status of an object that attempts to maintain a persistent connection.

Inheritance
Available extensions

Values

disconnected → const ConnectionStatus

The connection is not open. This is the initial state of the connection.

connecting → const ConnectionStatus

A connection with the remote endpoint has been initiated but is not yet complete.

connected → const ConnectionStatus

The connection is open. This is the initial state after the handshake has been completed.

failed → const ConnectionStatus

The connection has failed.

Properties

coreValue → RT_ConnectionStatus
Convert to internal value.
no setter
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Constants

values → const List<ConnectionStatus>
A constant List of the values in this enum, in order of their declaration.