C# 클래스 Cuke4Nuke.Core.Listener

파일 보기 프로젝트 열기: richardlawrence/Cuke4Nuke

공개 프로퍼티들

프로퍼티 타입 설명
MessageLogged EventHandler

보호된 프로퍼티들

프로퍼티 타입 설명
Started System.Threading.AutoResetEvent
Stopped System.Threading.AutoResetEvent

공개 메소드들

메소드 설명
Listener ( IProcessor processor, int port ) : System
Start ( ) : void
Stop ( ) : void
Write ( string response, StreamWriter writer ) : void

보호된 메소드들

메소드 설명
GetRequest ( StreamReader reader ) : string
Log ( string message ) : void
Process ( TcpClient client ) : void
Run ( ) : void
WaitForClientToConnect ( TcpListener listener ) : TcpClient

비공개 메소드들

메소드 설명
StartTcpListener ( ) : TcpListener

메소드 상세

GetRequest() 보호된 메소드

protected GetRequest ( StreamReader reader ) : string
reader System.IO.StreamReader
리턴 string

Listener() 공개 메소드

public Listener ( IProcessor processor, int port ) : System
processor IProcessor
port int
리턴 System

Log() 보호된 메소드

protected Log ( string message ) : void
message string
리턴 void

Process() 보호된 메소드

protected Process ( TcpClient client ) : void
client System.Net.Sockets.TcpClient
리턴 void

Run() 보호된 메소드

protected Run ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

WaitForClientToConnect() 보호된 메소드

protected WaitForClientToConnect ( TcpListener listener ) : TcpClient
listener System.Net.Sockets.TcpListener
리턴 System.Net.Sockets.TcpClient

Write() 공개 메소드

public Write ( string response, StreamWriter writer ) : void
response string
writer System.IO.StreamWriter
리턴 void

프로퍼티 상세

MessageLogged 공개적으로 프로퍼티

public EventHandler MessageLogged
리턴 EventHandler

Started 보호되어 있는 프로퍼티

protected AutoResetEvent,System.Threading Started
리턴 System.Threading.AutoResetEvent

Stopped 보호되어 있는 프로퍼티

protected AutoResetEvent,System.Threading Stopped
리턴 System.Threading.AutoResetEvent