internal void RaiseStateChanged(DhtState newState) { _state = newState; if (StateChanged != null) StateChanged(this, EventArgs.Empty); }