C# Class PeerCastStation.UI.PortMapperMonitor.NatDevice

Show file Open project: kumaryu/peercaststation

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
MapAsync ( MappingProtocol protocol, int port, System.TimeSpan lifetime, CancellationToken cancel_token ) : Task
NatDevice ( INatDevice device, IPAddress external_ipaddress ) : System
UnmapAsync ( MappingProtocol protocol, int port, CancellationToken cancel_token ) : Task

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

MapAsync() public method

public MapAsync ( MappingProtocol protocol, int port, System.TimeSpan lifetime, CancellationToken cancel_token ) : Task
protocol MappingProtocol
port int
lifetime System.TimeSpan
cancel_token System.Threading.CancellationToken
return Task

NatDevice() public method

public NatDevice ( INatDevice device, IPAddress external_ipaddress ) : System
device INatDevice
external_ipaddress System.Net.IPAddress
return System

UnmapAsync() public method

public UnmapAsync ( MappingProtocol protocol, int port, CancellationToken cancel_token ) : Task
protocol MappingProtocol
port int
cancel_token System.Threading.CancellationToken
return Task