C# 클래스 TVServerKodi.ConnectionHandler

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

공개 메소드들

메소드 설명
ConnectionHandler ( TcpClient client, Mutex cmdMutex, int clientnr ) : System
Disconnect ( ) : void
HandleConnection ( ) : void
WriteLine ( String line ) : void
getAllHandlers ( ) : CommandHandler>.Dictionary
getWriter ( ) : DataWriter

비공개 메소드들

메소드 설명
ProcessConnection ( StreamReader reader ) : void
addHandlers ( ) : void
handleCommand ( String command, String arguments ) : void

메소드 상세

ConnectionHandler() 공개 메소드

public ConnectionHandler ( TcpClient client, Mutex cmdMutex, int clientnr ) : System
client System.Net.Sockets.TcpClient
cmdMutex System.Threading.Mutex
clientnr int
리턴 System

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

HandleConnection() 공개 메소드

public HandleConnection ( ) : void
리턴 void

WriteLine() 공개 메소드

public WriteLine ( String line ) : void
line String
리턴 void

getAllHandlers() 공개 메소드

public getAllHandlers ( ) : CommandHandler>.Dictionary
리턴 CommandHandler>.Dictionary

getWriter() 공개 메소드

public getWriter ( ) : DataWriter
리턴 DataWriter