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

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

public class WaitMS
extends Command

A class that represents a VHI WaitMS command.

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

Constructor Summary
WaitMS(int duration)
          Constructs a new WaitMS command.
 
Method Summary
 int getDuration()
          Gets the duration.
 java.lang.String getName()
          Gets the command name.
 
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

WaitMS

public WaitMS(int duration)
Constructs a new WaitMS command.

Parameters:
duration - the amount of time to wait in milliseconds.
Method Detail

getDuration

public int getDuration()
Gets the duration.

Returns:
the amount of time to wait in milliseconds

getName

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

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