20#ifndef GEODE_AUTHENTICATEDVIEW_H_
21#define GEODE_AUTHENTICATEDVIEW_H_
25#include <geode/Region.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;
99 std::shared_ptr<Pool> pool, CacheImpl* cacheImpl);
112 const std::string& className,
bool expectDomainClass)
const override;
121 const std::string& className)
const override;
127 std::shared_ptr<UserAttributes> m_userAttributes;
128 bool m_isAuthenticatedViewClosed;
129 std::shared_ptr<QueryService> m_remoteQueryService;
130 CacheImpl* m_cacheImpl;
133 friend class ProxyRegion;
134 friend class ProxyRemoteQueryService;
135 friend class RemoteQuery;
136 friend class ExecutionImpl;
137 friend class FunctionServiceImpl;
139 friend class GuardUserAttributes;
140 friend class CacheRegionHelper;
Creates an authenticated cache view to allow credential based access to region services.
Definition: AuthenticatedView.hpp:46
AuthenticatedView(std::shared_ptr< Properties > credentials, std::shared_ptr< Pool > pool, CacheImpl *cacheImpl)
constructors
virtual ~AuthenticatedView()
destructor
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:63
A RegionService provides access to existing regions that exist in a Geode cache.
Definition: RegionService.hpp:62