C# 클래스 Gallatin.Core.Net.ServerDispatcher

상속: IServerDispatcher
파일 보기 프로젝트 열기: williamoneill/Gallatin 1 사용 예제들

공개 메소드들

메소드 설명
ConnectToServer ( string host, int port, IHttpResponseFilter filter, Action callback ) : void
Reset ( ) : void
TrySendDataToActiveServer ( byte data ) : bool

비공개 메소드들

메소드 설명
ActiveServerDataAvailable ( object sender, DataAvailableEventArgs e ) : void
HandleConnect ( bool success, INetworkConnection connection ) : void
RemoveServer ( IHttpServer server ) : void
ServerConnectionClosed ( object sender, EventArgs e ) : void
ServerDispatcher ( INetworkConnectionFactory factory ) : System

메소드 상세

ConnectToServer() 공개 메소드

public ConnectToServer ( string host, int port, IHttpResponseFilter filter, Action callback ) : void
host string
port int
filter IHttpResponseFilter
callback Action
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

TrySendDataToActiveServer() 공개 메소드

public TrySendDataToActiveServer ( byte data ) : bool
data byte
리턴 bool