def METHOD_NAME(self, video_time, chunk_time, buffer_time, initial_speed):
    initial_tg_name = self.template_names[initial_speed]
    prog_c = self._create_scheduler_program(video_time, chunk_time, buffer_time, initial_tg_name)
    prog_s = ASTFProgram(stream=False)
    prog_s.close_msg()
    # template
    temp_c = ASTFTCPClientTemplate(program=prog_c, ip_gen=self.ip_gen, port=self.port)
    temp_s = ASTFTCPServerTemplate(program=prog_s, assoc=self.assoc)
    template = ASTFTemplate(client_template=temp_c, server_template=temp_s)
    return template