live.threads
Class ThreadedZVMTasks.Authenticate
java.lang.Object
java.lang.Thread
live.threads.ThreadedUserAction
live.threads.ThreadedZVMTasks.Authenticate
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- ThreadedZVMTasks
- public static class ThreadedZVMTasks.Authenticate
- extends ThreadedUserAction
Tests wether this user can authenticate to the SMAPI server or not.
| Methods inherited from class live.threads.ThreadedUserAction |
getCache, getException, getID, getStatus, getTimeFinished, getTimeStarted, init, init, isFinished, result, run, setCanceled, setComplete, setError, setError, setIndeterminate, setIndeterminate, setInProgress, startJoinForever, startJoinTimeout, startNoJoin, toString |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, yield |
success
private Boolean success
user
private String user
ThreadedZVMTasks.Authenticate
public ThreadedZVMTasks.Authenticate(ThreadInitInfo initInfo)
- Creates an action that will call
ZVMTasks.authenticate().
- Parameters:
initInfo - The ThreadInitInfo object
runImpl
protected void runImpl()
throws ZVMTasksException
- Calls
ZVMTasks.authenticate()
- Specified by:
runImpl in class ThreadedUserAction
- Throws:
ZVMTasksException - Just a SMAPI Exception called up- See Also:
ThreadedUserAction.run()
description
public String description()
- Description of this task
- Specified by:
description in class ThreadedUserAction
- Returns:
- String description
- See Also:
ThreadedUserAction.toString()
rawResult
public Object rawResult()
- Returns a
Booleanobject. The value is as follows:
1. null: The ZVMTasks.authenticate()call has
not completed 2. Boolean(true): the authentication was successful 3.
Boolean(false): the authentication was unsuccessful
- Specified by:
rawResult in class ThreadedUserAction
- Returns:
- A
Booleanindicating whether the
authentication was successful
Copyright © 2005