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

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

public class WaitForHostSilence
extends Command

A class that represents a VHI WaitForHostSilence command.

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

Constructor Summary
WaitForHostSilence(int duration, int timeout)
          Constructs a new WaitForHostSilence 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

WaitForHostSilence

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

Parameters:
duration - the duration in seconds that the communication must be silent 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 communication must be silent 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