コード例 #1
0
ファイル: TcpServer.cs プロジェクト: rit-sse-mycroft/core
 /// <summary>
 /// Allow the server to be visited by commands
 /// </summary>
 /// <param name="command">The command that will operate on the server</param>
 public void Issue(Command command)
 {
     command.VisitServer(this);
 }
コード例 #2
0
ファイル: Registry.cs プロジェクト: rit-sse-mycroft/core
 public void Issue(Command command)
 {
     command.VisitRegistry(this);
 }
コード例 #3
0
ファイル: Dispatcher.cs プロジェクト: rit-sse-mycroft/core
 /// <summary>
 /// Applies a command to the registry
 /// </summary>
 /// <param name="command"></param>
 public void Issue(Command command)
 {
     command.VisitDispatcher(this);
 }
コード例 #4
0
ファイル: Dispatcher.cs プロジェクト: rit-sse-mycroft/core
 public void PreemptQueue(Command cmd)
 {
     DispatchPreemptStack.Add(cmd);
 }
コード例 #5
0
ファイル: Dispatcher.cs プロジェクト: rit-sse-mycroft/core
 public void Enqueue(Command cmd)
 {
     DispatchQueue.Add(cmd);
 }