Exemple #1
0
        public void HandleNewClientEvent(NewClientEventPayload eventPayLoad)
        {
            if (log.IsDebugEnabled)
            {
                log.Debug("Received new client: " + eventPayLoad);
            }

            Clients.Add(eventPayLoad.NewClient);
        }
Exemple #2
0
        public void HandleNewClientEvent(NewClientEventPayload eventPayload)
        {
            if (eventPayload == null)
            {
                throw new ArgumentNullException("eventPayload");
            }

            if (log.IsDebugEnabled)
            {
                log.Debug("Received new client: " + eventPayload);
            }

            Clients.Add(eventPayload.NewClient);
        }