stamp.util.dialer
Class  ActionWait
java.lang.Object
  |
  +--stamp.util.dialer.DialerAction
        |
        +--stamp.util.dialer.ActionWait
- public class ActionWait
- extends DialerAction
  
Dialer wait action.
 
| 
Constructor Summary | 
ActionWait(Uart recvUart,
           String s,
           int timeout,
           int timeoutOffset)
 
          Create a wait action. | 
 
 
 
ActionWait
public ActionWait(Uart recvUart,
                  String s,
                  int timeout,
                  int timeoutOffset)
- Create a wait action. When executed this action will wait for a string
 to be received on the UART.
 
 If the string is received before the timeout then the script will
 continue at the next action.
- Parameters:
 recvUart - the UART to wait for the string to be received on.s - the string to expect.timeout - the time in seconds to wait for the string.timeoutOffset - the jump offset if a timeout occurs.
 
 
execute
public int execute(DialerControl dialer)
- Executes the action.
- Overrides:
 - execute in class DialerAction
 
 
- Returns:
 - the offset to the next action that should be executed.