20#ifndef GEODE_AUTHENTICATEDVIEW_H_
21#define GEODE_AUTHENTICATEDVIEW_H_
25#include <geode/Region.hpp>
26#include <geode/RegionService.hpp>
27#include <geode/internal/geode_globals.hpp>
37class GuardUserAttributes;
39class FunctionServiceImpl;
74 std::shared_ptr<Region>
getRegion(
const std::string& path)
const override;
88 std::vector<std::shared_ptr<Region>>
rootRegions()
const override;
93 std::shared_ptr<Pool> pool, CacheImpl* cacheImpl);
106 const std::string& className,
bool expectDomainClass)
const override;
115 const std::string& className)
const override;
121 std::shared_ptr<UserAttributes> m_userAttributes;
122 bool m_isAuthenticatedViewClosed;
123 std::shared_ptr<QueryService> m_remoteQueryService;
124 CacheImpl* m_cacheImpl;
127 friend class ProxyRegion;
128 friend class ProxyRemoteQueryService;
129 friend class RemoteQuery;
130 friend class ExecutionImpl;
131 friend class FunctionServiceImpl;
133 friend class GuardUserAttributes;
134 friend class CacheRegionHelper;
Creates an authenticated cache view to allow credential based access to region services.
Definition: AuthenticatedView.hpp:46
PdxInstanceFactory createPdxInstanceFactory(const std::string &className) const override
Returns a factory that can create a PdxInstance.
std::shared_ptr< Region > getRegion(const std::string &path) const override
Look up a region with the full path from root.
std::vector< std::shared_ptr< Region > > rootRegions() const override
Returns a set of root regions in the cache.
std::shared_ptr< QueryService > getQueryService() override
Gets the QueryService from which a new Query can be obtained.
PdxInstanceFactory createPdxInstanceFactory(const std::string &className, bool expectDomainClass) const override
Returns a factory that can create a PdxInstance.
void close() override
Terminates this object cache and releases all the local resources.
bool isClosed() const override
public methods
entry point for function execution
Definition: FunctionService.hpp:45
PdxInstanceFactory gives you a way to create PdxInstances.
Definition: PdxInstanceFactory.hpp:52
A pool of connections to connect from a client to a set of Geode Cache Servers.
Definition: Pool.hpp:59
A RegionService provides access to existing regions that exist in a Geode cache.
Definition: RegionService.hpp:58