question: private void registerNewClient ( JsonObject jData ) { Client newClient = gson . fromJson ( jData , Client . class ) ; if ( newClient . isValid ( ) ) { addClient ( newClient ) ; broadcastNewClient ( newClient ) ; sendClientList ( newClient ) ; } else { logger . log ( Level . WARNING , "Could not unpack received data into a Client." ) ; } }
target:  Create Client from given JSON data, add client to client list, broadcast newly registered client to all previously registered clients and send client list to new client.