|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SentenceListener
Base interface for listening to SentenceEvents.
SentenceReader
,
SentenceEvent
Method Summary | |
---|---|
void |
readingPaused()
Called when NMEA data flow has paused for some reason, e.g. when reached the end of file or device has stopped providing data, but the reader is still running and waiting for more data. |
void |
readingStarted()
Called when NMEA data is found in stream and reader starts dispatching SentenceEvents. |
void |
readingStopped()
Invoked after SentenceReader has stopped reading the input
stream, either due to error or explicit request by calling
SentenceReader.stop() . |
void |
sentenceRead(SentenceEvent event)
Invoked when valid NMEA 0183 data has been read by SentenceReader. |
Method Detail |
---|
void readingPaused()
void readingStarted()
readingPaused()
has occurred.
void readingStopped()
SentenceReader
has stopped reading the input
stream, either due to error or explicit request by calling
SentenceReader.stop()
.
void sentenceRead(SentenceEvent event)
event
- SentenceEvent containing the data.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |