live.threads
Class ThreadedZVMTasks.CreateVSwitch
java.lang.Object
java.lang.Thread
live.threads.ThreadedUserAction
live.threads.ThreadedZVMTasks.CreateVSwitch
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- ThreadedZVMTasks
- public static class ThreadedZVMTasks.CreateVSwitch
- extends ThreadedUserAction
This creates a VSwitch without connecting anyone. (See
ThreadedZVMTasks.VSwitchCreateConnect
for a description of why you shouldn't use that.) Wraps
ZVMTasks.virtualSwitchCreate(String, String, 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 |
portName
private final String portName
rAddress
private final String rAddress
netName
private final String netName
ThreadedZVMTasks.CreateVSwitch
public ThreadedZVMTasks.CreateVSwitch(ThreadInitInfo initInfo,
String netName,
String portName,
String realAddress)
- Creates an action that will call
ZVMTasks.virtualSwitchCreate(String, String, String)
- Parameters:
initInfo
- The ThreadInitInfonetName
- The name of the VSwitch you're creatingportName
- The port name to connect the VSwitch to, or nullrealAddress
- The address of a real OSA device to connect to, or null
runImpl
protected void runImpl()
throws ZVMTasksException
- Calls
ZVMTasks.virtualSwitchCreate(String, String, 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
- See Also:
ThreadedUserAction.toString()
rawResult
public Object rawResult()
- Returns null or an exception
- Specified by:
rawResult
in class ThreadedUserAction
- Returns:
- Object
Copyright © 2005