original_docstring: Set communication channel and identifier after having received a valid answer.
docstring: Set communication channel and identifier after having received a valid answer.
docstring_tokens: Set communication channel and identifier after having received a valid answer .
code: def on_success_hook(self, knxipframe: KNXIPFrame) -> None:
          """Set communication channel and identifier after having received a valid answer."""
          assert isinstance(knxipframe.body, ConnectResponse)
          assert isinstance(knxipframe.body.identifier, int)
          self.communication_channel = knxipframe.body.communication_channel
          self.identifier = knxipframe.body.identifier
code_tokens: def on_success_hook ( self , knxipframe : KNXIPFrame ) -> None : assert isinstance ( knxipframe . body , ConnectResponse ) assert isinstance ( knxipframe . body . identifier , int ) self . communication_channel = knxipframe . body . communication_channel self . identifier = knxipframe . body . identifier
short_docstring: Set communication channel and identifier after having received a valid answer.
short_docstring_tokens: Set communication channel and identifier after having received a valid answer .
comment: """Set communication channel and identifier after having received a valid answer."""