gps.connection
Class SirfDecoderState

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

public class SirfDecoderState
extends java.lang.Object
implements DecoderStateInterface

This state will handle Sirf packages from the SIRF based device.

Author:
Mario

Constructor Summary
SirfDecoderState()
           
 
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

SirfDecoderState

public SirfDecoderState()
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 java.lang.Object getResponse(GPSrxtx context)
Description copied from interface: DecoderStateInterface
Returns valid data from the serial link.

Specified by:
getResponse in interface DecoderStateInterface