Class LoggedInState.Transition

    • Constructor Detail

      • Transition

        public Transition​(ConnectedState oldState)
        Instantiates a new logging in state.
        Parameters:
        oldState - the old state
    • Method Detail

      • getHumanReadableName

        public java.lang.String getHumanReadableName()
        Description copied from class: MultiClientState
        Returns a human readable name for the state. Used within toString()
        Overrides:
        getHumanReadableName in class ConnectedState
        Returns:
        A human readable name
      • login

        protected void login​(java.util.function.Supplier<ClientCredentials> creds)
                      throws unlimited.core.util.common.exception.FCException,
                             java.io.IOException
        Description copied from class: MultiClientState
        Login to the server with the specifed credentials.
        Overrides:
        login in class ConnectedState
        Parameters:
        creds - The Credentials with which to authenticate
        Throws:
        unlimited.core.util.common.exception.FCException - If authentication fails
        java.io.IOException - If a timeout, or other I/O error occurs