def handle(client_message, handle_event_topic=None, to_object=None):
message_type = client_message.get_message_type()<EOL>if message_type == EVENT_TOPIC and handle_event_topic is not None:<EOL><INDENT>item = client_message.read_data()<EOL>publish_time = client_message.read_long()<EOL>uuid = client_message.read_str()<EOL>handle_event_topic(item=item, publish_time=publish_time, uuid=uuid)<EOL><DEDENT>
Event handler