def createDisconnectPacket(self, **kwargs): return utils.CoAPacket2(code=packet.DisconnectRequest, dict=self.dict, secret=self.secret, **kwargs)
def CreateDmPacket(self, secret=six.b(''), **kwargs): return utils.CoAPacket2(code=packet.DisconnectRequest, dict=self.dict, secret=secret, **kwargs)
def createPacket(self, **kwargs): return utils.CoAPacket2(dict=self.dict, secret=self.secret, **kwargs)