def handle(client_message, handle_event_distributed_object=None, to_object=None):
message_type = client_message.get_message_type()<EOL>if message_type == EVENT_DISTRIBUTEDOBJECT and handle_event_distributed_object is not None:<EOL><INDENT>name = client_message.read_str()<EOL>service_name = client_message.read_str()<EOL>event_type = client_message.read_str()<EOL>handle_event_distributed_object(name=name, service_name=service_name, event_type=event_type)<EOL><DEDENT>
Event handler