return the line above (Clients.All.displayMessage...).  Do the same for OnReconnected and OnDisconnected.