org.flexunit.ant.launcher.commands.headless
Class XvncStartCommand

java.lang.Object
  extended by org.flexunit.ant.launcher.commands.Command
      extended by org.flexunit.ant.launcher.commands.headless.XvncStartCommand

public class XvncStartCommand
extends Command


Field Summary
private  int baseDisplay
           
private  int currentDisplay
           
private  int MAX_DISPLAY_CYCLES
           
private  java.lang.String VNC_SERVER_COMMAND
           
 
Constructor Summary
XvncStartCommand(int display)
           
 
Method Summary
 void cycle()
           
 int execute()
           
 int getCurrentDisplay()
           
 
Methods inherited from class org.flexunit.ant.launcher.commands.Command
getCommandLine, getEnvironment, getProject, launch, setEnvironment, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VNC_SERVER_COMMAND

private final java.lang.String VNC_SERVER_COMMAND
See Also:
Constant Field Values

MAX_DISPLAY_CYCLES

private final int MAX_DISPLAY_CYCLES
See Also:
Constant Field Values

baseDisplay

private int baseDisplay

currentDisplay

private int currentDisplay
Constructor Detail

XvncStartCommand

public XvncStartCommand(int display)
Method Detail

cycle

public void cycle()
           throws XvncException
Throws:
XvncException

getCurrentDisplay

public int getCurrentDisplay()

execute

public int execute()
            throws java.io.IOException
Overrides:
execute in class Command
Throws:
java.io.IOException