java.lang.Object
org.tentackle.fx.rdc.app.LoginFailedHandler
To handle login failed exceptions.
- Author:
- harald
-
Constructor Summary
ConstructorsConstructorDescriptionLoginFailedHandler(DesktopApplication<?> application, javafx.scene.Parent view, org.tentackle.session.SessionInfo sessionInfo) Creates a login failed handler. -
Method Summary
Modifier and TypeMethodDescriptionGets the application.org.tentackle.session.SessionInfoGets the session info.javafx.scene.ParentgetView()Gets the view.Handles the login failed exception.
-
Constructor Details
-
LoginFailedHandler
public LoginFailedHandler(DesktopApplication<?> application, javafx.scene.Parent view, org.tentackle.session.SessionInfo sessionInfo) Creates a login failed handler.- Parameters:
application- the applicationview- the viewsessionInfo- the session info
-
-
Method Details
-
getApplication
Gets the application.- Returns:
- the application
-
getView
public javafx.scene.Parent getView()Gets the view.- Returns:
- the view
-
getSessionInfo
public org.tentackle.session.SessionInfo getSessionInfo()Gets the session info.- Returns:
- the session info
-
handle
Handles the login failed exception.- Parameters:
ex- the login failed exception- Returns:
- null if retry login, else a runnable to be executed within the login task
-