gps.connection
Class WPDecoderState

java.lang.Object
  extended by gps.connection.WPDecoderState
All Implemented Interfaces:
DecoderStateInterface

public class WPDecoderState
extends java.lang.Object
implements DecoderStateInterface

Refactoring is ongoing.

Author:
Mario

Constructor Summary
WPDecoderState()
           
 
Method Summary
 void enterState(GPSrxtx context)
          Indicates this state is entered.
 void exitState(GPSrxtx context)
          Indicates this state is stopped.
 java.lang.Object getResponse(GPSrxtx context)
          Returns valid data from the serial link.
static void setNewBufferSize(int size)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WPDecoderState

public WPDecoderState()
Method Detail

setNewBufferSize

public static final void setNewBufferSize(int size)

enterState

public final void enterState(GPSrxtx context)
Description copied from interface: DecoderStateInterface
Indicates this state is entered. Allows initialization operations.

Specified by:
enterState in interface DecoderStateInterface

exitState

public final void exitState(GPSrxtx context)
Description copied from interface: DecoderStateInterface
Indicates this state is stopped. Allows end of state operations.

Specified by:
exitState in interface DecoderStateInterface

getResponse

public final java.lang.Object getResponse(GPSrxtx context)
Description copied from interface: DecoderStateInterface
Returns valid data from the serial link.

Specified by:
getResponse in interface DecoderStateInterface