com.scottpreston.javarobot.chapter2
Class SimpleStamp

java.lang.Object
  extended by com.scottpreston.javarobot.chapter2.Controller
      extended by com.scottpreston.javarobot.chapter2.SimpleStamp
All Implemented Interfaces:
JController

public class SimpleStamp
extends Controller


Field Summary
static int COMMAND_A
           
static int COMMAND_B
           
static int COMMAND_TERM
           
 
Constructor Summary
SimpleStamp(int id)
           
 
Method Summary
 java.lang.String cmdA()
           
 java.lang.String cmdB()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class com.scottpreston.javarobot.chapter2.Controller
close, execute, execute2
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMMAND_A

public static final int COMMAND_A
See Also:
Constant Field Values

COMMAND_B

public static final int COMMAND_B
See Also:
Constant Field Values

COMMAND_TERM

public static final int COMMAND_TERM
See Also:
Constant Field Values
Constructor Detail

SimpleStamp

public SimpleStamp(int id)
            throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

cmdA

public java.lang.String cmdA()
                      throws java.lang.Exception
Throws:
java.lang.Exception

cmdB

public java.lang.String cmdB()
                      throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception