com.wrq.vhi.script.api.command
Class WaitForKeyboardEnabled

java.lang.Object
  extended by com.wrq.vhi.script.api.command.Command
      extended by com.wrq.vhi.script.api.command.WaitForKeyboardEnabled

public class WaitForKeyboardEnabled
extends Command

A class that represents a VHI WaitForKeyboardEnabled command.

See Also:
CommandList, HostSession.executeCommandList(com.wrq.vhi.script.api.command.CommandList), HostSession.waitForKeyboardEnabled(int, int)

Constructor Summary
WaitForKeyboardEnabled(int duration, int timeout)
          Constructs a new WaitForKeyboardEnabled command.
 
Method Summary
 int getDuration()
          Gets the duration.
 java.lang.String getName()
          Gets the command name.
 int getTimeout()
          Gets the timeout.
 
Methods inherited from class com.wrq.vhi.script.api.command.Command
isValidEchoType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WaitForKeyboardEnabled

public WaitForKeyboardEnabled(int duration,
                              int timeout)
Constructs a new WaitForKeyboardEnabled command.

Parameters:
duration - the duration in seconds that the keyboard must remain enabled before returning.
timeout - the maximum time to wait in seconds
Method Detail

getDuration

public int getDuration()
Gets the duration.

Returns:
the duration in seconds that the keyboard must remain enabled before returning.

getTimeout

public int getTimeout()
Gets the timeout.

Returns:
the maximum time to wait in seconds

getName

public java.lang.String getName()
Gets the command name.

Specified by:
getName in class Command
Returns:
the command name