Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
Glacier2::SessionControlPrx Class Reference

Represents a router-provided object that allows an application-provided session manager to configure the routing constraints for a session. More...

#include <Glacier2/Glacier2.h>

Inheritance diagram for Glacier2::SessionControlPrx:

Public Member Functions

 SessionControlPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
 Constructs a proxy from a Communicator and a proxy string.
 SessionControlPrx (const SessionControlPrx &other) noexcept
 Copy constructor.
 SessionControlPrx (SessionControlPrx &&other) noexcept
 Move constructor.
std::optional< StringSetPrxadapterIds (const Ice::Context &context=Ice::noExplicitContext) const
 Gets a proxy to the object that manages the allowable adapter identities for objects for this session.
std::future< std::optional< StringSetPrx > > adapterIdsAsync (const Ice::Context &context=Ice::noExplicitContext) const
 Gets a proxy to the object that manages the allowable adapter identities for objects for this session.
std::function< void()> adapterIdsAsync (std::function< void(std::optional<::Glacier2::StringSetPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
 Gets a proxy to the object that manages the allowable adapter identities for objects for this session.
std::optional< StringSetPrxcategories (const Ice::Context &context=Ice::noExplicitContext) const
 Gets a proxy to the object that manages the allowable categories for object identities for this session.
std::future< std::optional< StringSetPrx > > categoriesAsync (const Ice::Context &context=Ice::noExplicitContext) const
 Gets a proxy to the object that manages the allowable categories for object identities for this session.
std::function< void()> categoriesAsync (std::function< void(std::optional<::Glacier2::StringSetPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
 Gets a proxy to the object that manages the allowable categories for object identities for this session.
void destroy (const Ice::Context &context=Ice::noExplicitContext) const
 Destroys the associated session.
std::future< void > destroyAsync (const Ice::Context &context=Ice::noExplicitContext) const
 Destroys the associated session.
std::function< void()> destroyAsync (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
 Destroys the associated session.
std::int32_t getSessionTimeout (const Ice::Context &context=Ice::noExplicitContext) const
 Gets the session timeout.
std::future< std::int32_t > getSessionTimeoutAsync (const Ice::Context &context=Ice::noExplicitContext) const
 Gets the session timeout.
std::function< void()> getSessionTimeoutAsync (std::function< void(std::int32_t)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
 Gets the session timeout.
std::optional< IdentitySetPrxidentities (const Ice::Context &context=Ice::noExplicitContext) const
 Gets a proxy to the object that manages the allowable object identities for this session.
std::future< std::optional< IdentitySetPrx > > identitiesAsync (const Ice::Context &context=Ice::noExplicitContext) const
 Gets a proxy to the object that manages the allowable object identities for this session.
std::function< void()> identitiesAsync (std::function< void(std::optional<::Glacier2::IdentitySetPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
 Gets a proxy to the object that manages the allowable object identities for this session.
SessionControlPrxoperator= (const SessionControlPrx &rhs) noexcept
 Copy assignment operator.
SessionControlPrxoperator= (SessionControlPrx &&rhs) noexcept
 Move assignment operator.
Public Member Functions inherited from Ice::Proxy< SessionControlPrx, Ice::ObjectPrx >
SessionControlPrx ice_adapterId (std::string id) const
 Creates a proxy that is identical to this proxy, except for the adapter ID.
SessionControlPrx ice_batchDatagram () const
 Creates a proxy that is identical to this proxy, but uses batch datagram invocations.
SessionControlPrx ice_batchOneway () const
 Creates a proxy that is identical to this proxy, but uses batch oneway invocations.
SessionControlPrx ice_collocationOptimized (bool b) const
 Creates a proxy that is identical to this proxy, except for collocation optimization.
SessionControlPrx 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.
SessionControlPrx ice_connectionCached (bool b) const
 Creates a proxy that is identical to this proxy, except for connection caching.
SessionControlPrx ice_connectionId (std::string id) const
 Creates a proxy that is identical to this proxy, except for its connection ID.
SessionControlPrx ice_context (Context context) const
 Creates a proxy that is identical to this proxy, except for the per-proxy context.
SessionControlPrx ice_datagram () const
 Creates a proxy that is identical to this proxy, but uses datagram invocations.
SessionControlPrx ice_encodingVersion (EncodingVersion version) const
 Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters.
SessionControlPrx ice_endpoints (EndpointSeq endpoints) const
 Creates a proxy that is identical to this proxy, except for the endpoints.
SessionControlPrx ice_endpointSelection (EndpointSelectionType type) const
 Creates a proxy that is identical to this proxy, except for the endpoint selection policy.
SessionControlPrx 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.
SessionControlPrx ice_invocationTimeout (int timeout) const
 Creates a proxy that is identical to this proxy, except for the invocation timeout.
SessionControlPrx ice_locator (const std::optional< LocatorPrx > &locator) const
 Creates a proxy that is identical to this proxy, except for the locator.
SessionControlPrx ice_locatorCacheTimeout (int timeout) const
 Creates a proxy that is identical to this proxy, except for the locator cache timeout.
SessionControlPrx ice_oneway () const
 Creates a proxy that is identical to this proxy, but uses oneway invocations.
SessionControlPrx ice_router (const std::optional< RouterPrx > &router) const
 Creates a proxy that is identical to this proxy, except for the router.
SessionControlPrx ice_twoway () const
 Creates a proxy that is identical to this proxy, but uses twoway invocations.
const SessionControlPrx * 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.

Detailed Description

Represents a router-provided object that allows an application-provided session manager to configure the routing constraints for a session.

See also
SessionManager

Definition at line 416 of file Session.h.


The documentation for this class was generated from the following file: