private void SubscribeActiveStateEvents() { ActiveState.MessageGenerated += MessageGeneratedEvent; ActiveState.StateIsChanged += StateIsChanged; ActiveState.NonPriorityMessageGenerated += NonPriorityMessageGeneratedEvent; ActiveState.Init(); }