virtual staff::IService* AllocateProxy(const std::string& sBaseUri, const std::string& sServiceName, const std::string& sSessionId, const std::string& sInstanceId) { std::auto_ptr<my_microturbineProxy> tpProxy(new my_microturbineProxy); tpProxy->Init(sBaseUri + (sServiceName.empty() ? "my_microturbine" : sServiceName), sSessionId, sInstanceId); return tpProxy.release(); }
virtual staff::IService* AllocateProxy(const std::string& sBaseUri, const std::string& sServiceName, const std::string& sSessionId, const std::string& sInstanceId) { std::auto_ptr<controller_serverProxy> tpProxy(new controller_serverProxy); tpProxy->Init(sBaseUri + (sServiceName.empty() ? "controller_server" : sServiceName), sSessionId, sInstanceId); return tpProxy.release(); }