def subscribe(self, client, channel_name):
if channel_name not in self.channels:<EOL><INDENT>self.channels[channel_name] = channel = Channel(channel_name)<EOL>channel.start()<EOL><DEDENT>self.channels[channel_name].subscribe(client)<EOL>
Register a new client to receive messages on a channel.