C# 클래스 Turn.Server.AllocationsPool

파일 보기 프로젝트 열기: vf1/turnserver 1 사용 예제들

공개 메소드들

메소드 설명
AllocationsPool ( ) : System
Clear ( ) : void
Get ( ConnectionId connectionId ) : Allocation
Get ( ServerEndPoint allocated ) : Allocation
GetByPeer ( ServerEndPoint local, IPEndPoint remote ) : Allocation
Remove ( Allocation oldAllocation, RemoveReason reason ) : void
Replace ( Allocation allocation ) : void

비공개 메소드들

메소드 설명
GetKey ( ServerEndPoint local, IPEndPoint remote ) : string
OnRemoved ( Allocation allocation, RemoveReason reason ) : void
Timer_EventHandler ( Object stateInfo ) : void

메소드 상세

AllocationsPool() 공개 메소드

public AllocationsPool ( ) : System
리턴 System

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Get() 공개 메소드

public Get ( ConnectionId connectionId ) : Allocation
connectionId ConnectionId
리턴 Allocation

Get() 공개 메소드

public Get ( ServerEndPoint allocated ) : Allocation
allocated ServerEndPoint
리턴 Allocation

GetByPeer() 공개 메소드

public GetByPeer ( ServerEndPoint local, IPEndPoint remote ) : Allocation
local ServerEndPoint
remote System.Net.IPEndPoint
리턴 Allocation

Remove() 공개 메소드

public Remove ( Allocation oldAllocation, RemoveReason reason ) : void
oldAllocation Allocation
reason RemoveReason
리턴 void

Replace() 공개 메소드

public Replace ( Allocation allocation ) : void
allocation Allocation
리턴 void