C# 클래스 Mycroft.Dispatcher

상속: ICommandable
파일 보기 프로젝트 열기: rit-sse-mycroft/core 1 사용 예제들

공개 메소드들

메소드 설명
Dispatcher ( TcpServer server, Registry registry, MessageArchive messageArchive ) : System
Enqueue ( Command cmd ) : void
Issue ( Command command ) : void

Applies a command to the registry

PreemptQueue ( Command cmd ) : void
Run ( ) : void

비공개 메소드들

메소드 설명
HandleNewClientConnection ( CommandConnection connection ) : void

Put a newly connected app in its own thread in the app thread pool

메소드 상세

Dispatcher() 공개 메소드

public Dispatcher ( TcpServer server, Registry registry, MessageArchive messageArchive ) : System
server Mycroft.Server.TcpServer
registry Mycroft.App.Registry
messageArchive Mycroft.Cmd.Msg.MessageArchive
리턴 System

Enqueue() 공개 메소드

public Enqueue ( Command cmd ) : void
cmd Mycroft.Cmd.Command
리턴 void

Issue() 공개 메소드

Applies a command to the registry
public Issue ( Command command ) : void
command Mycroft.Cmd.Command
리턴 void

PreemptQueue() 공개 메소드

public PreemptQueue ( Command cmd ) : void
cmd Mycroft.Cmd.Command
리턴 void

Run() 공개 메소드

public Run ( ) : void
리턴 void