advancedrelay.util
Class Vtx

java.lang.Object
  |
  +--advancedrelay.util.Vtx

public class Vtx
extends java.lang.Object

Verified transmission module.


Field Summary
static int ERROR_DATA_DISCREPANCY
           
static int ERROR_INVALID_BUFFER_SIZE
           
static int ERROR_INVALID_VTX_REFERENCE
           
static int ERROR_NONE
           
static int ERROR_PATTERN_TYPE_DISCREPANCY
           
static int ERROR_SEQUENCE_NUMBER_DISCREPANCY
           
static int ERROR_SIZE_DISCREPANCY
           
 
Constructor Summary
Vtx(int max)
           
 
Method Summary
 byte[] getTx(int size)
           
 void nextTx()
           
 void reset()
           
 void resetRx()
           
 void resetTx()
           
 int validateRx(byte[] data, int size)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERROR_DATA_DISCREPANCY

public static final int ERROR_DATA_DISCREPANCY
See Also:
Constant Field Values

ERROR_INVALID_BUFFER_SIZE

public static final int ERROR_INVALID_BUFFER_SIZE
See Also:
Constant Field Values

ERROR_INVALID_VTX_REFERENCE

public static final int ERROR_INVALID_VTX_REFERENCE
See Also:
Constant Field Values

ERROR_NONE

public static final int ERROR_NONE
See Also:
Constant Field Values

ERROR_PATTERN_TYPE_DISCREPANCY

public static final int ERROR_PATTERN_TYPE_DISCREPANCY
See Also:
Constant Field Values

ERROR_SEQUENCE_NUMBER_DISCREPANCY

public static final int ERROR_SEQUENCE_NUMBER_DISCREPANCY
See Also:
Constant Field Values

ERROR_SIZE_DISCREPANCY

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

Vtx

public Vtx(int max)
Method Detail

getTx

public byte[] getTx(int size)

nextTx

public void nextTx()

reset

public void reset()

resetRx

public void resetRx()

resetTx

public void resetTx()

validateRx

public int validateRx(byte[] data,
                      int size)