Represents an intermediary object that routes requests and replies between clients and Ice objects that are not directly reachable from these clients. More...
#include <Ice/Ice.h>
Public Member Functions | |
RouterPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString) | |
Constructs a proxy from a Communicator and a proxy string. | |
RouterPrx (const RouterPrx &other) noexcept | |
Copy constructor. | |
RouterPrx (RouterPrx &&other) noexcept | |
Move constructor. | |
ObjectProxySeq | addProxies (const ObjectProxySeq &proxies, const Ice::Context &context=Ice::noExplicitContext) const |
Adds new proxy information to the router's routing table. | |
std::future< ObjectProxySeq > | addProxiesAsync (const ObjectProxySeq &proxies, const Ice::Context &context=Ice::noExplicitContext) const |
Adds new proxy information to the router's routing table. | |
std::function< void()> | addProxiesAsync (const ObjectProxySeq &proxies, std::function< void(::Ice::ObjectProxySeq)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const |
Adds new proxy information to the router's routing table. | |
std::optional< Ice::ObjectPrx > | getClientProxy (std::optional< bool > &hasRoutingTable, const Ice::Context &context=Ice::noExplicitContext) const |
Gets the router's client proxy, i.e. | |
std::future< std::tuple< std::optional< Ice::ObjectPrx >, std::optional< bool > > > | getClientProxyAsync (const Ice::Context &context=Ice::noExplicitContext) const |
Gets the router's client proxy, i.e. | |
std::function< void()> | getClientProxyAsync (std::function< void(std::optional< Ice::ObjectPrx >, std::optional< bool >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const |
Gets the router's client proxy, i.e. | |
std::optional< Ice::ObjectPrx > | getServerProxy (const Ice::Context &context=Ice::noExplicitContext) const |
Gets the router's server proxy, i.e. | |
std::future< std::optional< Ice::ObjectPrx > > | getServerProxyAsync (const Ice::Context &context=Ice::noExplicitContext) const |
Gets the router's server proxy, i.e. | |
std::function< void()> | getServerProxyAsync (std::function< void(std::optional< Ice::ObjectPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const |
Gets the router's server proxy, i.e. | |
RouterPrx & | operator= (const RouterPrx &rhs) noexcept |
Copy assignment operator. | |
RouterPrx & | operator= (RouterPrx &&rhs) noexcept |
Move assignment operator. | |
Public Member Functions inherited from Ice::Proxy< RouterPrx, Ice::ObjectPrx > | |
RouterPrx | ice_adapterId (std::string id) const |
Creates a proxy that is identical to this proxy, except for the adapter ID. | |
RouterPrx | ice_batchDatagram () const |
Creates a proxy that is identical to this proxy, but uses batch datagram invocations. | |
RouterPrx | ice_batchOneway () const |
Creates a proxy that is identical to this proxy, but uses batch oneway invocations. | |
RouterPrx | ice_collocationOptimized (bool b) const |
Creates a proxy that is identical to this proxy, except for collocation optimization. | |
RouterPrx | ice_compress (bool b) const |
Creates a proxy that is identical to this proxy, except for its compression setting which overrides the compression setting from the proxy endpoints. | |
RouterPrx | ice_connectionCached (bool b) const |
Creates a proxy that is identical to this proxy, except for connection caching. | |
RouterPrx | ice_connectionId (std::string id) const |
Creates a proxy that is identical to this proxy, except for its connection ID. | |
RouterPrx | ice_context (Context context) const |
Creates a proxy that is identical to this proxy, except for the per-proxy context. | |
RouterPrx | ice_datagram () const |
Creates a proxy that is identical to this proxy, but uses datagram invocations. | |
RouterPrx | ice_encodingVersion (EncodingVersion version) const |
Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters. | |
RouterPrx | ice_endpoints (EndpointSeq endpoints) const |
Creates a proxy that is identical to this proxy, except for the endpoints. | |
RouterPrx | ice_endpointSelection (EndpointSelectionType type) const |
Creates a proxy that is identical to this proxy, except for the endpoint selection policy. | |
RouterPrx | ice_fixed (ConnectionPtr connection) const |
Creates a proxy that is identical to this proxy, except it's a fixed proxy bound to the given connection. | |
RouterPrx | ice_invocationTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the invocation timeout. | |
RouterPrx | ice_locator (const std::optional< LocatorPrx > &locator) const |
Creates a proxy that is identical to this proxy, except for the locator. | |
RouterPrx | ice_locatorCacheTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the locator cache timeout. | |
RouterPrx | ice_oneway () const |
Creates a proxy that is identical to this proxy, but uses oneway invocations. | |
RouterPrx | ice_router (const std::optional< RouterPrx > &router) const |
Creates a proxy that is identical to this proxy, except for the router. | |
RouterPrx | ice_twoway () const |
Creates a proxy that is identical to this proxy, but uses twoway invocations. | |
const RouterPrx * | operator-> () const noexcept |
The arrow operator. |
Static Public Member Functions | |
static const char * | ice_staticId () noexcept |
Gets the type ID of the associated Slice interface. |
Represents an intermediary object that routes requests and replies between clients and Ice objects that are not directly reachable from these clients.