Example #1
0
        public FizzChatClient(string appId, IFizzActionDispatcher dispatcher)
        {
            if (dispatcher == null)
            {
                throw ERROR_INVALID_DISPATCHER;
            }

            _dispatcher = dispatcher;

            _messageListener = CreateListener(appId, _dispatcher);
        }
        public FizzChatClient(string appId, IFizzActionDispatcher dispatcher)
        {
            if (dispatcher == null)
            {
                throw ERROR_INVALID_DISPATCHER;
            }

            _dispatcher = dispatcher;

            _messageListener   = CreateListener(appId, _dispatcher);
            _groups            = new FizzGroups();
            _users             = new FizzUsers();
            _userNotifications = new FizzUserNotifications();
        }