gps.connection
Class MtkBinDecoderState

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

public class MtkBinDecoderState
extends java.lang.Object
implements DecoderStateInterface

This state will handle binary responses from the MTK based logger device. Work in progress.

Author:
Mario

Constructor Summary
MtkBinDecoderState()
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MtkBinDecoderState

public MtkBinDecoderState()
Method Detail

enterState

public 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 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