24 #include <core/threading/thread_finalizer.h>
25 #include <plugins/gossip/aspect/gossip_inifin.h>
26 #include <plugins/gossip/gossip/gossip_group.h>
27 #include <plugins/gossip/gossip/gossip_group_manager.h>
53 if (gossip_thread == NULL) {
55 "GossipAspect, but RTTI says it "
61 gossip_group_mgr_->
join_group(gossip_thread->GossipAspect_group_name_);
63 gossip_thread->gossip_group = group;
69 GossipAspect *gossip_thread;
70 gossip_thread =
dynamic_cast<GossipAspect *
>(thread);
71 if (gossip_thread == NULL) {
72 throw CannotFinalizeThreadException(
"Thread '%s' claims to have the "
73 "GossipAspect, but RTTI says it "
78 gossip_group_mgr_->
leave_group(gossip_thread->gossip_group);
87 gossip_group_mgr_ = gossip_group_mgr;