C# 클래스 Turn.Server.TurnServer

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

공개 메소드들

메소드 설명
EnableLog ( string fileName ) : void
Start ( ) : void
Stop ( ) : void
TurnServer ( ILogger logger ) : System

비공개 메소드들

메소드 설명
Allocation_Removed ( Allocation allocation, AllocationsPool reason ) : void
GetBuffer ( ServerEndPoint local, IPEndPoint remote, int length, ServerAsyncEventArgs &e, int &offset ) : void
GetErrorResponse ( ErrorCode errorCode, SocketAsyncEventArgs e ) : Turn.Message.TurnMessage
PeerSendAsync_Completed ( Socket socket, SocketAsyncEventArgs e ) : void
PeerServer_Received ( ServersManager s, BaseConnection с, ServerAsyncEventArgs &e ) : bool
PeerServer_ServerAdded ( object sender, ServerChangeEventArgs e ) : void
PeerServer_ServerRemoved ( object sender, ServerChangeEventArgs e ) : void
ProcessAllocateRequest ( Allocation &allocation, Turn.Message.TurnMessage request, ServerEndPoint local, IPEndPoint remote ) : Turn.Message.TurnMessage
ProcessSendRequest ( Allocation allocation, Turn.Message.TurnMessage request, ServerAsyncEventArgs &e ) : Turn.Message.TurnMessage
ProcessSetActiveDestinationRequest ( Allocation allocation, Turn.Message.TurnMessage request, IPEndPoint reflexEndPoint ) : Turn.Message.TurnMessage
SendTurn ( Turn.Message.TurnMessage message, ServerEndPoint local, IPEndPoint remote ) : void
SendTurnAsync_Completed ( Socket socket, SocketAsyncEventArgs e ) : void
TurnServer_NewConnection ( ServersManager s, TurnConnection c ) : void
TurnServer_PeerDataReceived ( ServerAsyncEventArgs &e ) : void
TurnServer_Received ( ServersManager s, TurnConnection c, ServerAsyncEventArgs &e ) : bool
TurnServer_ServerAdded ( object sender, ServerChangeEventArgs e ) : void
TurnServer_ServerRemoved ( object sender, ServerChangeEventArgs e ) : void
TurnServer_TurnDataReceived ( ServerAsyncEventArgs &e ) : void

메소드 상세

EnableLog() 공개 메소드

public EnableLog ( string fileName ) : void
fileName string
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

TurnServer() 공개 메소드

public TurnServer ( ILogger logger ) : System
logger ILogger
리턴 System