Animatroller.Framework.Expander.MonoExpanderBaseInstance.ClientConnected C# (CSharp) Method

ClientConnected() public method

public ClientConnected ( string connectionId ) : void
connectionId string
return void
        public void ClientConnected(string connectionId)
        {
            this.connectionId = connectionId;

            log.Info("Client {0} connected to instance {1}", connectionId, this.instanceId);

            // Send all state data
            lock (this.lastState)
            {
                foreach (var kvp in this.lastState)
                    SendMessage(kvp.Value);
            }
        }