#NEWLINE# @ apiproxy_stub . Synchronized #NEWLINE# def get_channel_messages( self , token ) : #NEWLINE# #INDENT# "Returns the pending messages for a given channel.\n\n    Args:\n      token: A string representing the channel. Note that this is the token\n        returned by CreateChannel, not the client id.\n\n    Returns:\n      List of messages, or None if the channel doesn't exist. The messages are\n      strings.\n    " #NEWLINE# self . _log ( ( 'Received request for messages for channel: ' + token ) ) #NEWLINE# client_id = self . client_id_from_token ( token ) #NEWLINE# if ( client_id in self . _connected_channel_messages ) : #NEWLINE# #INDENT# return self . _connected_channel_messages [ client_id ] #NEWLINE# #UNINDENT# return None