class documentation

class NMEATestReceiver:

Implements interfaces: twisted.positioning.ipositioning.INMEAReceiver

View In Hierarchy

An NMEA receiver for testing.

Remembers the last sentence it has received.

Method __init__ Undocumented
Method clear Forgets the received sentence (if any), by setting self.receivedSentence to None.
Method sentenceReceived Method called when a sentence is received.
Instance Variable receivedSentence Undocumented
def __init__(self):

Undocumented

def clear(self):

Forgets the received sentence (if any), by setting self.receivedSentence to None.

def sentenceReceived(self, sentence: nmea.NMEASentence):

Method called when a sentence is received.

Parameters
sentence:nmea.NMEASentenceThe received NMEA sentence. @type twisted.positioning.nmea.NMEASentence
receivedSentence: nmea.NMEASentence | None =

Undocumented