C# 클래스 Protogame.DefaultHiveNATPunchthrough

Default implementation of IHiveNATPunchthrough.
상속: IHiveNATPunchthrough
파일 보기 프로젝트 열기: RedpointGames/Protogame

공개 메소드들

메소드 설명
LookupEndpoints ( TempSessionWithSecrets userSession, string targetSession ) : Task>
PerformNATPunchthrough ( TempSessionWithSecrets userSession, UdpClient udpClient, int timeout ) : Task
PerformNATPunchthrough ( TempSessionWithSecrets userSession, int timeout ) : Task
StartBackgroundNATPunchthrough ( TempSessionWithSecrets userSession ) : Task
StartBackgroundNATPunchthrough ( TempSessionWithSecrets userSession, UdpClient udpClient ) : Task
StopBackgroundNATPunchthrough ( BackgroundNATPunchthrough backgroundNatPunchthrough ) : Task

비공개 메소드들

메소드 설명
ContinuousNATPunchthrough ( BackgroundNATPunchthrough punchthrough ) : void
PerformNATPunchthroughInternal ( TempSessionWithSecrets userSession, UdpClient specificUdpClient, int timeout ) : Task

메소드 상세

LookupEndpoints() 공개 메소드

public LookupEndpoints ( TempSessionWithSecrets userSession, string targetSession ) : Task>
userSession TempSessionWithSecrets
targetSession string
리턴 Task>

PerformNATPunchthrough() 공개 메소드

public PerformNATPunchthrough ( TempSessionWithSecrets userSession, UdpClient udpClient, int timeout ) : Task
userSession TempSessionWithSecrets
udpClient System.Net.Sockets.UdpClient
timeout int
리턴 Task

PerformNATPunchthrough() 공개 메소드

public PerformNATPunchthrough ( TempSessionWithSecrets userSession, int timeout ) : Task
userSession TempSessionWithSecrets
timeout int
리턴 Task

StartBackgroundNATPunchthrough() 공개 메소드

public StartBackgroundNATPunchthrough ( TempSessionWithSecrets userSession ) : Task
userSession TempSessionWithSecrets
리턴 Task

StartBackgroundNATPunchthrough() 공개 메소드

public StartBackgroundNATPunchthrough ( TempSessionWithSecrets userSession, UdpClient udpClient ) : Task
userSession TempSessionWithSecrets
udpClient System.Net.Sockets.UdpClient
리턴 Task

StopBackgroundNATPunchthrough() 공개 메소드

public StopBackgroundNATPunchthrough ( BackgroundNATPunchthrough backgroundNatPunchthrough ) : Task
backgroundNatPunchthrough BackgroundNATPunchthrough
리턴 Task