The type of figurative language that is used in the sentence from George Orwell's novel Keep the Aspidistra Flying is a metaphor. A metaphor is a figure of speech that compares two different things in an implied way. In this line, the public is compared to a swine and advertising is compared to the rattling of a stick inside a swill-bucket.
A cell wall is a structural layer surrounding some types of cells, just outside the cell membrane. It can be tough, flexible, and sometimes rigid. It provides the cell with both structural support and protection, and also acts as a filtering mechanism.