protected void SendStop() { // 'stop' command goes always from administrative thread to // the current object. Command cmd = new Command(this, CommandType.Stop); m_ctx.SendCommand(m_threadId, cmd); }