class documentation

class MessageAuthoritative: (source)

View In Hierarchy

A minimal authoritative message.

Class Method bytes Bytes which are expected when encoding an instance constructed using kwargs and which are expected to result in an identical instance when decoded.
Class Method kwargs Keyword constructor arguments which are expected to result in an instance which returns bytes when encoded.
@classmethod
def bytes(cls): (source)

Bytes which are expected when encoding an instance constructed using kwargs and which are expected to result in an identical instance when decoded.

Returns
The bytes of a wire encoded message.
@classmethod
def kwargs(cls): (source)

Keyword constructor arguments which are expected to result in an instance which returns bytes when encoded.

Returns
A dict of keyword arguments.