public void SendCommand(int threadId, [NotNull] Command command) { m_slots[threadId].Send(command); }
/// <summary> /// Send the Stop command. /// </summary> protected void SendStop() { // 'stop' command goes always from administrative thread to the current object. m_ctx.SendCommand(m_threadId, new Command(this, CommandType.Stop)); }