stamp.util.dialer
Class ActionSend

java.lang.Object
  |
  +--stamp.util.dialer.DialerAction
        |
        +--stamp.util.dialer.ActionSend

public class ActionSend
extends DialerAction

Dialer send action.


Constructor Summary
ActionSend(Uart sendUart, String s)
          Create a send action.
 
Method Summary
 int execute(DialerControl dialer)
          Executes the action.
 
Methods inherited from class java.lang.Object
equals
 

Constructor Detail

ActionSend

public ActionSend(Uart sendUart,
                  String s)
Create a send action. When executed this action will send a string to the specified UART.
Parameters:
sendUart - the UART that the string should be sent with.
s - the string to send.
Method Detail

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.