C# 클래스 TSystems.RELOAD.ForwardAndLinkManagement.ICE

파일 보기 프로젝트 열기: RELOAD-NET/RELOAD.NET

공개 메소드들

메소드 설명
CloseAllCandidateSockets ( IceCandidate candidate ) : void
CompareByteArrays ( Byte a, Byte b ) : bool
CreateBootstrapCandidate ( IPAddress localIPAddress, int port ) : IceCandidate
FormCheckList ( List localCandidates, List remoteCandidates, bool localNodeIsControlling ) : CheckList
GatherActiveCandidatesForBootstrap ( ) : List
GatherCandidates ( ) : List
PrintCandidate ( IceCandidate iceCandidate ) : void
PrintCandidateList ( List list ) : void
PrintCandidatePair ( CandidatePair candidatePair ) : void
PrintCandidatePairList ( List list ) : void
PrioritizeCandidates ( List iceCandidates ) : List
RemovePairDuplicates ( List candidatePairs ) : List
ScheduleChecks ( CheckList checkList, ReloadConfig logger ) : void
SendSignal ( Socket socket, bool nominated ) : bool
WaitForSignal ( Socket socket ) : bool

비공개 메소드들

메소드 설명
CalculatePriority ( IceCandidate iceCandidate ) : IceCandidate
ComputeFoundation ( IceCandidate candidate ) : byte[]
ComputePairPriority ( List candidatePairs, bool localNodeIsControlling ) : List
ComputeStates ( List candidatePairs ) : List
DetermineDirectionPreference ( IceCandidate iceCandidate ) : uint
FormingCandidatePairs ( List localCandidates, List remoteCandidates ) : List
GatherHostActiveCandidate ( IPAddress localIPAddress ) : IceCandidate
GatherHostCandidates ( List iceCandidates, IPAddress localIPAddress ) : void
GatherHostPassiveCandidate ( IPAddress localIPAddress ) : IceCandidate
GatherHostSOCandidate ( IPAddress localIPAddress ) : IceCandidate
GatherNAActiveCandidate ( IPAddress localIPAddress, IceCandidate baseCandidate ) : IceCandidate
GatherNAPassiveCandidate ( IPAddress localIPAddress ) : IceCandidate
GatherNASOCandidate ( IPAddress localIPAddress ) : IceCandidate
GatherNATAssistedCandidates ( List iceCandidates, IPAddress localIPAddress ) : void
GatherSRActiveCandidate ( IPAddress localIPAddress, IceCandidate baseCandidate ) : IceCandidate
GatherSRPassiveCandidate ( IPAddress localIPAddress ) : IceCandidate
GatherSRSOCandidate ( IPAddress localIPAddress ) : IceCandidate
GatherServerReflexiveCandidates ( List iceCandidates, IPAddress localIPAddress ) : void
GetDefinedSTUNServers ( ) : List
GetPublicMapping ( Socket stunSocket ) : IPEndPoint
OrderPairsByPriority ( List candidatePairs ) : List
PeformCheck ( CandidatePair candPair, ReloadConfig logger ) : void
PowerOf2 ( int n ) : long
PruneCandidatePairs ( List candidatePairs ) : List
PruneLocalPassiveCandidates ( List candidatePairs ) : List
RunAcceptAndConnect ( CandidatePair candPair, Socket connectingSocket, Socket listeningSocket ) : Socket
TreatNACandidates ( List candidatePairs ) : List

메소드 상세

CloseAllCandidateSockets() 공개 정적인 메소드

public static CloseAllCandidateSockets ( IceCandidate candidate ) : void
candidate TSystems.RELOAD.Topology.IceCandidate
리턴 void

CompareByteArrays() 공개 정적인 메소드

public static CompareByteArrays ( Byte a, Byte b ) : bool
a Byte
b Byte
리턴 bool

CreateBootstrapCandidate() 공개 정적인 메소드

public static CreateBootstrapCandidate ( IPAddress localIPAddress, int port ) : IceCandidate
localIPAddress System.Net.IPAddress
port int
리턴 TSystems.RELOAD.Topology.IceCandidate

FormCheckList() 공개 정적인 메소드

public static FormCheckList ( List localCandidates, List remoteCandidates, bool localNodeIsControlling ) : CheckList
localCandidates List
remoteCandidates List
localNodeIsControlling bool
리턴 CheckList

GatherActiveCandidatesForBootstrap() 공개 정적인 메소드

public static GatherActiveCandidatesForBootstrap ( ) : List
리턴 List

GatherCandidates() 공개 정적인 메소드

public static GatherCandidates ( ) : List
리턴 List

PrintCandidate() 공개 정적인 메소드

public static PrintCandidate ( IceCandidate iceCandidate ) : void
iceCandidate TSystems.RELOAD.Topology.IceCandidate
리턴 void

PrintCandidateList() 공개 정적인 메소드

public static PrintCandidateList ( List list ) : void
list List
리턴 void

PrintCandidatePair() 공개 정적인 메소드

public static PrintCandidatePair ( CandidatePair candidatePair ) : void
candidatePair CandidatePair
리턴 void

PrintCandidatePairList() 공개 정적인 메소드

public static PrintCandidatePairList ( List list ) : void
list List
리턴 void

PrioritizeCandidates() 공개 정적인 메소드

public static PrioritizeCandidates ( List iceCandidates ) : List
iceCandidates List
리턴 List

RemovePairDuplicates() 공개 정적인 메소드

public static RemovePairDuplicates ( List candidatePairs ) : List
candidatePairs List
리턴 List

ScheduleChecks() 공개 정적인 메소드

public static ScheduleChecks ( CheckList checkList, ReloadConfig logger ) : void
checkList CheckList
logger ReloadConfig
리턴 void

SendSignal() 공개 정적인 메소드

public static SendSignal ( Socket socket, bool nominated ) : bool
socket Socket
nominated bool
리턴 bool

WaitForSignal() 공개 정적인 메소드

public static WaitForSignal ( Socket socket ) : bool
socket Socket
리턴 bool