* client.runtime.* renamed to client.session.*

* some work on area names - need to fix login issue & rest shoudl work
This commit is contained in:
Bryan Ashby 2015-09-25 23:10:18 -06:00
parent 1082b6e39c
commit df477667b0
9 changed files with 14 additions and 10 deletions

View file

@ -10,7 +10,7 @@ var clientConnections = [];
exports.clientConnections = clientConnections;
function addNewClient(client) {
var id = client.runtime.id = clientConnections.push(client) - 1;
var id = client.session.id = clientConnections.push(client) - 1;
// Create a client specific logger
client.log = logger.log.child( { clientId : id } );
@ -37,7 +37,7 @@ function removeClient(client) {
logger.log.info(
{
connectionCount : clientConnections.length,
clientId : client.runtime.id
clientId : client.session.id
},
'Client disconnected'
);