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

            _dispatcher = dispatcher;

            _messageListener = CreateListener(appId, _dispatcher);
        }
예제 #2
0
        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();
        }