def handle_gmcp(self, bytes): if self.allow_gmcp == True: GmcpHandler.process(bytes, self.factory.realm)