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

상속: UPnPService, INatDevice
파일 보기 프로젝트 열기: kumaryu/peercaststation

공개 프로퍼티들

프로퍼티 타입 설명
PortMappingDescription string

공개 메소드들

메소드 설명
GetExternalAddressAsync ( CancellationToken cancel_token ) : Task
MapAsync ( MappingProtocol protocol, int port, System.TimeSpan lifetime, CancellationToken cancel_token ) : Task
UnmapAsync ( MappingProtocol protocol, int port, CancellationToken cancel_token ) : Task
WANConnectionService ( UPnPServiceDescription service_desc ) : System

비공개 메소드들

메소드 설명
GetInternalAddressAsync ( ) : Task
IsOnSameNetwork ( IPAddress mask, IPAddress addr1, IPAddress addr2 ) : bool

메소드 상세

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

UnmapAsync() 공개 메소드

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

WANConnectionService() 공개 메소드

public WANConnectionService ( UPnPServiceDescription service_desc ) : System
service_desc UPnPServiceDescription
리턴 System

프로퍼티 상세

PortMappingDescription 공개적으로 정적으로 프로퍼티

public static string PortMappingDescription
리턴 string