SessionMode enum
How a session runs on the node.
Values
- exec → const SessionMode
-
Run a single command to completion, streaming its output.
- shell → const SessionMode
-
Start a long-lived interactive shell with bidirectional streaming.
- transfer → const SessionMode
-
Move a file/directory between client and node over a framed, compressed, resumable byte stream (no process; handled by the node's transfer service).
- drive → const SessionMode
-
Serve an OmnyDrive mount over a long-lived request/response channel (no process; handled by the node's drive service). The client drives the OmnyDrive sync engine and issues content/git RPCs against a node path.
- tunnel → const SessionMode
-
Forward a TCP connection: the Hub exposes a public port and bridges each accepted connection to an internal
host:portthe exposer can reach (no process; the exposer dials the target and pipes bytes over the channel). Used by the tunnel feature; authorized like any other session open.
Properties
- 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
Static Methods
-
parse(
String value) → SessionMode - Parses a wire value, defaulting to SessionMode.exec for unknown input.
Constants
-
values
→ const List<
SessionMode> - A constant List of the values in this enum, in order of their declaration.