C# 클래스 MindTouch.Clacks.Server.Async.AsyncCommandRepository

상속: IAsyncCommandDispatcher
파일 보기 프로젝트 열기: MindTouch/MindTouch.Clacks 1 사용 예제들

공개 메소드들

메소드 설명
AddCommand ( string command, Action>.Action handler, DataExpectation dataExpectation ) : void
AddCommand ( string command, Action handler, DataExpectation dataExpectation ) : void
Default ( Action handler ) : void
Disconnect ( string command, Action handler ) : void
Error ( Action handler ) : void
GetHandler ( IPEndPoint client, string commandArgs ) : IAsyncCommandHandler

비공개 메소드들

메소드 설명
BuildDisconnectHandler ( ) : IAsyncCommandHandler

메소드 상세

AddCommand() 공개 메소드

public AddCommand ( string command, Action>.Action handler, DataExpectation dataExpectation ) : void
command string
handler Action>.Action
dataExpectation DataExpectation
리턴 void

AddCommand() 공개 메소드

public AddCommand ( string command, Action handler, DataExpectation dataExpectation ) : void
command string
handler Action
dataExpectation DataExpectation
리턴 void

Default() 공개 메소드

public Default ( Action handler ) : void
handler Action
리턴 void

Disconnect() 공개 메소드

public Disconnect ( string command, Action handler ) : void
command string
handler Action
리턴 void

Error() 공개 메소드

public Error ( Action handler ) : void
handler Action
리턴 void

GetHandler() 공개 메소드

public GetHandler ( IPEndPoint client, string commandArgs ) : IAsyncCommandHandler
client System.Net.IPEndPoint
commandArgs string
리턴 IAsyncCommandHandler