Session bindings using RCF 2.0
Posted: Tue Mar 26, 2013 3:23 pm
How to migrate this code from to use with RCF 2.0?
The point is to have separate CServerImpl objects for each connection to store/manage data for each connection. Server is using thread pools.
Code: Select all
RCF::SessionObjectFactoryServicePtr Factory(new RCF::SessionObjectFactoryService());
Factory->bind<DatabaseService, CServerImpl>();
Server->addService(Factory);