Known subclasses: twisted.positioning.nmea.NMEAProtocol

A mixin for certain protocols that produce positioning sentences.

This mixin helps protocols that store the layout of sentences that they consume in a _SENTENCE_CONTENTS class variable provide all sentence attributes that can ever occur. It does this by providing a class method, getSentenceAttributes, which iterates over all sentence types and collects the possible sentence attributes.

Class Method getSentenceAttributes Returns a set of all attributes that might be found in the sentences produced by this protocol.
@classmethod
def getSentenceAttributes(cls): (source)

Returns a set of all attributes that might be found in the sentences produced by this protocol.

This is basically a set of all the attributes of all the sentences that this protocol can produce.

ReturnsThe set of all possible sentence attribute names. (type: set of str)
API Documentation for Twisted, generated by pydoctor at 2016-04-04 15:02:49.