PcpGateway class final

Inheritance

Properties

externalAddress Future<InternetAddress>
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
internalAddress InternetAddress
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type GatewayType
no setteroverride

Methods

closePort({required PortType protocol, required int externalPort}) Future<bool>
override
isMapped({required PortType protocol, required int externalPort}) Future<bool>
override
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>
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

discover() Future<PcpGateway?>
override