7#ifndef Ice_LocatorRegistry_h_
8#define Ice_LocatorRegistry_h_
14#ifndef ICE_DISABLE_VERSION
15# if ICE_INT_VERSION != 30850
16# error Ice version mismatch: an exact match is required for beta generated code
49 ~LocatorRegistryPrx()
override;
110 void _iceI_setAdapterDirectProxy(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view,
const std::optional<Ice::ObjectPrx>&,
const Ice::Context&)
const;
156 void _iceI_setReplicatedAdapterDirectProxy(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view, std::string_view,
const std::optional<Ice::ObjectPrx>&,
const Ice::Context&)
const;
185 void _iceI_setServerProcessProxy(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view,
const std::optional<ProcessPrx>&,
const Ice::Context&)
const;
217 [[nodiscard]] const
char*
ice_id() const noexcept override;
238 [[nodiscard]] const
char*
ice_id() const noexcept override;
259 [[nodiscard]] const
char*
ice_id() const noexcept override;
304 virtual void setAdapterDirectProxyAsync(std::string
id, std::optional<Ice::ObjectPrx> proxy, std::function<
void()> response, std::function<
void(std::exception_ptr)> exception,
const Ice::Current& current) = 0;
326 virtual void setReplicatedAdapterDirectProxyAsync(std::string adapterId, std::string replicaGroupId, std::optional<Ice::ObjectPrx> proxy, std::function<
void()> response, std::function<
void(std::exception_ptr)> exception,
const Ice::Current& current) = 0;
339 virtual void setServerProcessProxyAsync(std::string
id, std::optional<ProcessPrx> proxy, std::function<
void()> response, std::function<
void(std::exception_ptr)> exception,
const Ice::Current& current) = 0;
355#include <Ice/PopDisableWarnings.h>
void ice_throw() const override
Throws this exception.
const char * ice_id() const noexcept override
Returns the type ID of this exception.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice exception.
The exception that is thrown when a server application tries to register endpoints for an object adap...
Represents a request received by a connection.
const char * ice_id() const noexcept override
Returns the type ID of this exception.
void ice_throw() const override
Throws this exception.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice exception.
The exception that is thrown when the provided replica group is invalid.
void setAdapterDirectProxy(std::string_view id, const std::optional< Ice::ObjectPrx > &proxy, const Ice::Context &context=Ice::noExplicitContext) const
Registers or unregisters the endpoints of an object adapter.
LocatorRegistryPrx(LocatorRegistryPrx &&other) noexcept
Move constructor.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice interface.
LocatorRegistryPrx(const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
Constructs a proxy from a Communicator and a proxy string.
LocatorRegistryPrx & operator=(LocatorRegistryPrx &&rhs) noexcept
Move assignment operator.
void setServerProcessProxy(std::string_view id, const std::optional< ProcessPrx > &proxy, const Ice::Context &context=Ice::noExplicitContext) const
Registers a proxy to the Ice::ProcessPrx object of a server application.
std::function< void()> setReplicatedAdapterDirectProxyAsync(std::string_view adapterId, std::string_view replicaGroupId, const std::optional< Ice::ObjectPrx > &proxy, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Registers or unregisters the endpoints of an object adapter.
std::function< void()> setAdapterDirectProxyAsync(std::string_view id, const std::optional< Ice::ObjectPrx > &proxy, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Registers or unregisters the endpoints of an object adapter.
void setReplicatedAdapterDirectProxy(std::string_view adapterId, std::string_view replicaGroupId, const std::optional< Ice::ObjectPrx > &proxy, const Ice::Context &context=Ice::noExplicitContext) const
Registers or unregisters the endpoints of an object adapter.
LocatorRegistryPrx & operator=(const LocatorRegistryPrx &rhs) noexcept
Copy assignment operator.
LocatorRegistryPrx(const LocatorRegistryPrx &other) noexcept
Copy constructor.
std::future< void > setAdapterDirectProxyAsync(std::string_view id, const std::optional< Ice::ObjectPrx > &proxy, const Ice::Context &context=Ice::noExplicitContext) const
Registers or unregisters the endpoints of an object adapter.
std::future< void > setServerProcessProxyAsync(std::string_view id, const std::optional< ProcessPrx > &proxy, const Ice::Context &context=Ice::noExplicitContext) const
Registers a proxy to the Ice::ProcessPrx object of a server application.
std::future< void > setReplicatedAdapterDirectProxyAsync(std::string_view adapterId, std::string_view replicaGroupId, const std::optional< Ice::ObjectPrx > &proxy, const Ice::Context &context=Ice::noExplicitContext) const
Registers or unregisters the endpoints of an object adapter.
std::function< void()> setServerProcessProxyAsync(std::string_view id, const std::optional< ProcessPrx > &proxy, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Registers a proxy to the Ice::ProcessPrx object of a server application.
A server application registers the endpoints of its indirect object adapters with the LocatorRegistry...
virtual void setReplicatedAdapterDirectProxyAsync(std::string adapterId, std::string replicaGroupId, std::optional< Ice::ObjectPrx > proxy, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current ¤t)=0
Registers or unregisters the endpoints of an object adapter.
LocatorRegistryPrx ProxyType
The associated proxy type.
std::vector< std::string > ice_ids(const Ice::Current ¤t) const override
Gets the Slice interfaces supported by this object as a list of type IDs.
std::string ice_id(const Ice::Current ¤t) const override
Gets the type ID of the most-derived Slice interface supported by this object.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice interface.
virtual void setServerProcessProxyAsync(std::string id, std::optional< ProcessPrx > proxy, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current ¤t)=0
Registers a proxy to the Ice::ProcessPrx object of a server application.
virtual void setAdapterDirectProxyAsync(std::string id, std::optional< Ice::ObjectPrx > proxy, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current ¤t)=0
Registers or unregisters the endpoints of an object adapter.
void dispatch(IncomingRequest &request, std::function< void(OutgoingResponse)> sendResponse) override
Dispatches an incoming request to one of the member functions of this generated class,...
A server application registers the endpoints of its indirect object adapters with the LocatorRegistry...
ObjectPrx & operator=(const ObjectPrx &rhs) noexcept=default
Copy assignment operator.
The base class for all Ice proxies.
The base class for servants.
Represents the response to an incoming request.
Represents a byte buffer used for marshaling data using the Slice encoding.
A server application managed by a locator implementation such as IceGrid hosts a Process object and r...
Provides typed proxy functions.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice exception.
void ice_throw() const override
Throws this exception.
const char * ice_id() const noexcept override
Returns the type ID of this exception.
The exception that is thrown when a server was not found.
Abstract base class for all Ice exceptions defined in Slice.
std::shared_ptr< Communicator > CommunicatorPtr
A shared pointer to a Communicator.
const Context noExplicitContext
Marker value used to indicate that no explicit request context was passed to a proxy invocation.
std::shared_ptr< LocatorRegistry > LocatorRegistryPtr
A shared pointer to a LocatorRegistry.
std::map< std::string, std::string, std::less<> > Context
Represents additional information carried by an Ice request.
Provides information about an incoming request being dispatched.