def handle_distributed_object_event(name, service_name, event_type,
                                     source):
     event = DistributedObjectEvent(name, service_name, event_type,
                                    source)
     listener_func(event)
 def handle_distributed_object_event(**kwargs):
     event = DistributedObjectEvent(**kwargs)
     listener_func(event)