live.threads
Class ThreadedZVMTasks.QueryAllNetworks
java.lang.Object
java.lang.Thread
live.threads.ThreadedUserAction
live.threads.ThreadedZVMTasks.QueryAllNetworks
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- ThreadedZVMTasks
- public static class ThreadedZVMTasks.QueryAllNetworks
- extends ThreadedUserAction
Returns a linkedlist of Networks. Each Network is populated with its name
and network type (Guest LAN or VSwitch)
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 |
networkList
private LinkedList networkList
ThreadedZVMTasks.QueryAllNetworks
public ThreadedZVMTasks.QueryAllNetworks(ThreadInitInfo initInfo)
- Creates an action that will call
ZVMTasks.queryAllNetworks()
. The parameter
initInfo MUST be non-null or this will throw a
NullPointerException
.
- Parameters:
initInfo
- The ThreadInitInfo object that contains the
information explained above
runImpl
protected void runImpl()
throws ZVMTasksException
- Calls
ZVMTasks.queryAllNetworks()
- Specified by:
runImpl
in class ThreadedUserAction
- Throws:
ZVMTasksException
- 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 the
LinkedList
that was returned from
ZVMTasks.queryAllNetworks()
if the call was
successful, the ZVMTasksException
that was
thrown if not, or null if the call has not been completed.
- Specified by:
rawResult
in class ThreadedUserAction
- Returns:
- The
LinkedList
returned from
ZVMTasks.queryAllNetworks()
if
successful, an Exception, or null
Copyright © 2005