예제 #1
0
    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);
    }
예제 #3
0
    void onServiceAddedProto(ObjectFactoryService & ofs, RcfServer & server)
    {
        boost::shared_ptr<ObjectFactoryServicePb> ofsPbPtr( 
            new ObjectFactoryServicePb(ofs) );

        server.bind((I_ObjectFactoryPb *) NULL, ofsPbPtr);
    }
예제 #4
0
    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;
    }
예제 #5
0
    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);
    }