org.halfdog.io.parport
Class GenericSequence

java.lang.Object
  extended byorg.halfdog.io.parport.GenericSequence
All Implemented Interfaces:
Sequence

public class GenericSequence
extends java.lang.Object
implements Sequence


Constructor Summary
protected GenericSequence()
           
 
Method Summary
 int addStep(int command, int value, int wait)
          Add a new step to the end of a sequence.
 void clear()
           
protected  int getReadCount()
           
protected  byte[] getSequence()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericSequence

protected GenericSequence()
Method Detail

clear

public void clear()
Specified by:
clear in interface Sequence

addStep

public int addStep(int command,
                   int value,
                   int wait)
Add a new step to the end of a sequence.

Specified by:
addStep in interface Sequence
Returns:
the number of the step in the sequence

getSequence

protected byte[] getSequence()

getReadCount

protected int getReadCount()