pyrtma.core_defs.MDF_CLIENT_CLOSED
- class MDF_CLIENT_CLOSED[source]
Bases:
MessageDataMethods
Generate a copy of a message structure
Generate message instance from dictionary
Generate message instance from JSON string
Generate message instance with random values
return copy of raw bytes for ctypes field
hexdump of message
Generate formatted message structure string for pretty printing
Convert message to dictionary
Convert message to json string
Attributes
addrValidator for strings (char arrays)
is_loggerValidator for 16-bit integers
is_uniqueValidator for 16-bit integers
mod_idValidator for 16-bit integers
nameValidator for strings (char arrays)
pidValidator for 32-bit integers
portValidator for unsigned 16-bit integers
sizetype_deftype_hashtype_idtype_nametype_sizetype_sourceuidValidator for 32-bit integers
- classmethod copy(m)
Generate a copy of a message structure
- classmethod from_dict(data)
Generate message instance from dictionary
- Parameters:
- Raises:
JSONDecodingError – Unable to decode dictionary
- Return type:
TypeVar(MB, bound= MessageBase)
- classmethod from_json(s)
Generate message instance from JSON string
- classmethod from_random()
Generate message instance with random values
- Return type:
TypeVar(MB, bound= MessageBase)
- get_field_raw(name)
return copy of raw bytes for ctypes field
- hexdump(length=16, sep=' ')
hexdump of message
- pretty_print(add_tabs=0)
Generate formatted message structure string for pretty printing