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

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

public class WaitForMultipleEvents
extends Command

A class that represents a VHI WaitForMultipleEvents command.

See Also:
CommandList, HostSession.executeCommandList(com.wrq.vhi.script.api.command.CommandList), HostSession.waitForMultipleEvents(java.lang.String, int)

Constructor Summary
WaitForMultipleEvents(java.lang.String expression, int timeout)
          Constructs a new WaitForMultipleEvents command.
 
Method Summary
 java.lang.String getExpression()
          Gets the expression.
 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

WaitForMultipleEvents

public WaitForMultipleEvents(java.lang.String expression,
                             int timeout)
Constructs a new WaitForMultipleEvents command.

Parameters:
expression - the expression of events to wait for
timeout - the maximum time to wait in seconds
Method Detail

getExpression

public java.lang.String getExpression()
Gets the expression.

Returns:
the expression of events to wait for

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