public SocketController initialiseSocketClient(@NonNull SessionController sessionController, ListenerListAdapter listener, APIConfig.BaseURIs baseURIs) {
        SocketController socketController = new SocketController(dataMgr, listener, log, baseURIs.getSocket(), baseURIs.getProxy());
        sessionController.setSocketController(socketController);
        if (isSessionValid()) {
            socketController.connectSocket();
        }
        return socketController;
    }
public SocketController initialiseSocketClient ( @ NonNull SessionController sessionController , ListenerListAdapter listener , APIConfig . BaseURIs baseURIs ) { SocketController socketController = new SocketController ( dataMgr , listener , log , baseURIs . getSocket ( ) , baseURIs . getProxy ( ) ) ; sessionController . setSocketController ( socketController ) ; if ( isSessionValid ( ) ) { socketController . connectSocket ( ) ; } return socketController ; }
Initialise client for managing socket connections.

@param sessionController Controller for creating and managing session.
@param listener          Listener for socket events.
@param baseURIs          APIs baseURIs.
@return Client for managing socket connections.