private void addClient ( String id , IClient client ) { // check to see if the id already exists first if ( ! hasClient ( id ) ) { clients . put ( id , client ) ; } else { log . debug ( "Client id: {} already registered" , id ) ; } }
Add the client to the registry