def callback(self, *incoming):
message = incoming[<NUM_LIT:0>]<EOL>if message:<EOL><INDENT>address, command = message[<NUM_LIT:0>], message[<NUM_LIT:2>]<EOL>profile = self.get_profile(address)<EOL>if profile is not None:<EOL><INDENT>try:<EOL><INDENT>getattr(profile, command)(self, message)<EOL><DEDENT>except AttributeError:<EOL><INDENT>pass<EOL><DEDENT><DEDENT><DEDENT>
Gets called by the CallbackManager if a new message was received