live.threads
Class ThreadedZVMTasks.QueryNetworkMembers

java.lang.Object
  extended byjava.lang.Thread
      extended bylive.threads.ThreadedUserAction
          extended bylive.threads.ThreadedZVMTasks.QueryNetworkMembers
All Implemented Interfaces:
Runnable
Enclosing class:
ThreadedZVMTasks

public static class ThreadedZVMTasks.QueryNetworkMembers
extends ThreadedUserAction

Returns a linkedlist of Networks. Each Network is populated with its name and network type (Guest LAN or VSwitch)


Nested Class Summary
 
Nested classes inherited from class live.threads.ThreadedUserAction
 
Field Summary
private  String netName
           
private  Network network
           
 
Fields inherited from class live.threads.ThreadedUserAction
CANCELED, COMPLETE, done, ERROR, IN_PROGRESS, INDETERMINATE, PENDING, tasks
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ThreadedZVMTasks.QueryNetworkMembers(ThreadInitInfo initInfo, String netName)
          Creates an action that will call ZVMTasks.getNetworkMembers(String).
 
Method Summary
 String description()
          Returns a description of this task.
 Object rawResult()
          Returns the Network that was returned from ZVMTasks.getNetworkMembers(String) if the call was successful, the ZVMTasksException that was thrown if not, or null if the call has not been completed.
protected  void runImpl()
          Calls ZVMTasks.getNetworkMembers(String)
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

network

private Network network

netName

private String netName
Constructor Detail

ThreadedZVMTasks.QueryNetworkMembers

public ThreadedZVMTasks.QueryNetworkMembers(ThreadInitInfo initInfo,
                                            String netName)
Creates an action that will call ZVMTasks.getNetworkMembers(String).

Parameters:
initInfo - The ThreadInitInfo object that contains the information explained above
netName - The network name to query
Method Detail

runImpl

protected void runImpl()
                throws ZVMTasksException
Calls ZVMTasks.getNetworkMembers(String)

Specified by:
runImpl in class ThreadedUserAction
Throws:
ZVMTasksException
See Also:
ThreadedUserAction.run()

description

public String description()
Returns a description of this task.

Specified by:
description in class ThreadedUserAction
Returns:
String description.
See Also:
ThreadedUserAction.toString()

rawResult

public Object rawResult()
Returns the Network that was returned from ZVMTasks.getNetworkMembers(String) 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:
A Network, exception, or null


Copyright © 2005