Gateway class abstract
- Implementers
Constructors
Properties
-
externalAddress
→ Future<
InternetAddress> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- internalAddress → InternetAddress
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → GatewayType
-
no setter
Methods
-
closePort(
{required PortType protocol, required int externalPort}) → Future< bool> -
isMapped(
{required PortType protocol, required int externalPort}) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openPort(
{required PortType protocol, required int externalPort, int? internalPort, String portDescription = "DartUPnP", int leaseDuration = 0}) → Future< bool> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
discover(
{Set< GatewayType> protocols = const {GatewayType.upnp, GatewayType.pmp, GatewayType.pcp}}) → Future<Gateway?>