C# 클래스 PeerCastStation.UI.PortMapper.NatPmpDevice

상속: INatDevice
파일 보기 프로젝트 열기: kumaryu/peercaststation 1 사용 예제들

공개 메소드들

메소드 설명
GetExternalAddressAsync ( CancellationToken cancel_token ) : Task
MapAsync ( MappingProtocol protocol, int port, System.TimeSpan lifetime, CancellationToken cancel_token ) : Task
NatPmpDevice ( IPAddress device_address ) : System
UnmapAsync ( MappingProtocol protocol, int port, CancellationToken cancel_token ) : Task

비공개 메소드들

메소드 설명
MapAsyncInternal ( MappingProtocol protocol, int port, int lifetime, CancellationToken cancel_token ) : Task

메소드 상세

GetExternalAddressAsync() 공개 메소드

public GetExternalAddressAsync ( CancellationToken cancel_token ) : Task
cancel_token System.Threading.CancellationToken
리턴 Task

MapAsync() 공개 메소드

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
리턴 Task

NatPmpDevice() 공개 메소드

public NatPmpDevice ( IPAddress device_address ) : System
device_address System.Net.IPAddress
리턴 System

UnmapAsync() 공개 메소드

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