Public Member Functions | Public Attributes | List of all members
MQTTV5.ReasonCodes Class Reference

Public Member Functions

def __getName__ (self, packetType, identifier)
 
def __init__ (self, packetType, aName="Success", identifier=-1)
 
def __str__ (self)
 
def getId (self, name)
 
def getName (self)
 
def pack (self)
 
def set (self, name)
 
def unpack (self, buffer)
 

Public Attributes

 names
 
 packetType
 
 value
 

Detailed Description

  The reason code used in MQTT V5.0

Definition at line 94 of file MQTTV5.py.

Constructor & Destructor Documentation

def MQTTV5.ReasonCodes.__init__ (   self,
  packetType,
  aName = "Success",
  identifier = -1 
)

Definition at line 141 of file MQTTV5.py.

Member Function Documentation

def MQTTV5.ReasonCodes.__getName__ (   self,
  packetType,
  identifier 
)
used when displaying the reason code

Definition at line 100 of file MQTTV5.py.

def MQTTV5.ReasonCodes.__str__ (   self)

Definition at line 135 of file MQTTV5.py.

def MQTTV5.ReasonCodes.getId (   self,
  name 
)
used when setting the reason code for a packetType
check that only valid codes for the packet are set

Definition at line 110 of file MQTTV5.py.

def MQTTV5.ReasonCodes.getName (   self)

Definition at line 132 of file MQTTV5.py.

def MQTTV5.ReasonCodes.pack (   self)

Definition at line 138 of file MQTTV5.py.

def MQTTV5.ReasonCodes.set (   self,
  name 
)

Definition at line 124 of file MQTTV5.py.

def MQTTV5.ReasonCodes.unpack (   self,
  buffer 
)

Definition at line 127 of file MQTTV5.py.

Member Data Documentation

MQTTV5.ReasonCodes.names

Definition at line 143 of file MQTTV5.py.

MQTTV5.ReasonCodes.packetType

Definition at line 142 of file MQTTV5.py.

MQTTV5.ReasonCodes.value

Definition at line 125 of file MQTTV5.py.


The documentation for this class was generated from the following file:


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:51