TunnelHandle class

A handle to an open tunnel returned by ClientRuntime.openTunnel.

Constructors

TunnelHandle({required String tunnelId, required String nodeId, required String publicHost, required int publicPort, required int targetPort})
Creates a tunnel handle.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
nodeId String
The exposer node id, or @local when exposing the client's own machine.
final
publicHost String
The host the Hub advertises for the public port (may be empty when the caller should substitute the Hub's own hostname).
final
publicPort int
The public TCP port the Hub is listening on.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortId String
A short, display-only handle derived from tunnelId.
no setter
targetPort int
The internal target port being exposed.
final
tunnelId String
The full tunnel id (use any unambiguous prefix to close it).
final

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