how to identify when java client connected successfully to SignalR. where is onConnect life cycle .
i want to do something when hubConnection connected to server.
hubConnection have onClose method for subscribing callback method that run when connection is closed or disconnected.