RelayManager class

RelayManager monitors the host's reachability and manages a Circuit Relay v2 service. If the host becomes publicly reachable, it starts the relay service. If the host is not publicly reachable, it stops the service.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Closes the RelayManager, stopping the relay service and cleaning up resources.
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

create(Host host, {int maxReservations = 128, int maxConnections = 128, int reservationTtl = 3600, int connectionDuration = 3600, int connectionData = 1 << 20}) Future<RelayManager>
Creates and initializes a new RelayManager.