#NEWLINE# def disconnect( self , receipt = str ( uuid . uuid4 ( ) ) , headers = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , **keyword_headers ) : #NEWLINE# #INDENT# '\n        Call the protocol disconnection, and then stop the transport itself.\n\n        :param receipt: the receipt to use with the disconnect\n        :param headers: a map of any additional headers to send with the disconnection\n        :param keyword_headers: any additional headers to send with the disconnection\n        ' #NEWLINE# Protocol12 . disconnect ( self , receipt , headers , ** keyword_headers ) #NEWLINE# self . transport . stop ( )