public void StartListen() { _dispatcher = Dispatcher.CurrentDispatcher; _presenceListener.StartListen(); _onPresence = _dispatcher.Wrap<Client, Presence>(OnPresence); _presenceListener.PresenceReceived += _onPresence.Exec; }