void onServiceAddedProto(FilterService & fs, RcfServer & server) { boost::shared_ptr<FilterServicePb> fsPbPtr( new FilterServicePb(fs)); server.bind((I_RequestTransportFiltersPb *) NULL, fsPbPtr); }
void onServiceAddedProto(SessionObjectFactoryService & sofs, RcfServer & server) { boost::shared_ptr<SessionObjectFactoryServicePb> sofsPbPtr( new SessionObjectFactoryServicePb(sofs)); server.bind((I_SessionObjectFactoryPb *) NULL, sofsPbPtr); }
void onServiceAddedProto(ObjectFactoryService & ofs, RcfServer & server) { boost::shared_ptr<ObjectFactoryServicePb> ofsPbPtr( new ObjectFactoryServicePb(ofs) ); server.bind((I_ObjectFactoryPb *) NULL, ofsPbPtr); }
void ObjectFactoryService::onServiceAdded(RcfServer &server) { server.bind((I_ObjectFactory *) NULL, *this); onServiceAddedProto(*this, server); mTaskEntries.clear(); mTaskEntries.push_back( TaskEntry( boost::bind(&ObjectFactoryService::cycleCleanup, this, _1, _2), boost::bind(&ObjectFactoryService::stopCleanup, this), "RCF Ofs cleanup")); mStopFlag = false; }
void FilterService::onServiceAdded(RcfServer & server) { server.bind( (I_RequestTransportFilters *) NULL, *this); onServiceAddedProto(*this, server); }
void SessionObjectFactoryService::onServiceAdded(RcfServer &server) { server.bind((I_SessionObjectFactory *) NULL, *this); onServiceAddedProto(*this, server); }