internal void ChangeState(AbstractStxState newstate)
        {
            /*attention: no locking. Is already called thread safely via call to SendResponse*/
            _state = newstate;
            newstate.Initialize(this);

            if (_stateObserver != null)
            {
                _stateObserver.OnNext(CreateStateInfo(newstate.Name));
            }
        }
        internal void ChangeState(AbstractStxState newstate)
        {
            /*attention: no locking. Is already called thread safely via call to SendResponse*/
            _state = newstate;
            newstate.Initialize(this);

            if (_stateObserver != null) _stateObserver.OnNext(CreateStateInfo(newstate.Name));
        }