C# Class PeerCastStation.UI.PortMapperMonitor

Inheritance: IChannelMonitor, IDisposable
Mostra file Open project: kumaryu/peercaststation Class Usage Examples

Public Methods

Method Description
Clear ( ) : void
DiscoverAsync ( ) : Task
Dispose ( ) : void
GetExternalAddresses ( ) : IEnumerable
OnTimer ( ) : void
PortMapperMonitor ( PeerCastStation.Core.PeerCast peercast ) : System

Private Methods

Method Description
AddPort ( int port ) : void
AddPortOnDevice ( NatDevice device, int port ) : void
DiscoverAsync ( CancellationToken cancel_token ) : Task
RemovePort ( int port ) : void
RemovePortOnDevice ( NatDevice device, int port ) : void
RenewPort ( int port ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

DiscoverAsync() public method

public DiscoverAsync ( ) : Task
return Task

Dispose() public method

public Dispose ( ) : void
return void

GetExternalAddresses() public method

public GetExternalAddresses ( ) : IEnumerable
return IEnumerable

OnTimer() public method

public OnTimer ( ) : void
return void

PortMapperMonitor() public method

public PortMapperMonitor ( PeerCastStation.Core.PeerCast peercast ) : System
peercast PeerCastStation.Core.PeerCast
return System