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

The Glacier2 specialization of the Ice::RouterPrx interface. More...

#include <Glacier2/Glacier2.h>

Inheritance diagram for Glacier2::AsyncRouter:

Public Types

using ProxyType = RouterPrx
 The associated proxy type.
Public Types inherited from Ice::AsyncRouter
using ProxyType = RouterPrx
 The associated proxy type.

Public Member Functions

virtual void createSessionAsync (std::string userId, std::string password, std::function< void(const std::optional< SessionPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Creates a session for the client (caller) with the router.
virtual void createSessionFromSecureConnectionAsync (std::function< void(const std::optional< SessionPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Creates a per-client session with the router.
virtual void destroySessionAsync (std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Destroys the session of the caller with this router.
void dispatch (Ice::IncomingRequest &request, std::function< void(Ice::OutgoingResponse)> sendResponse) override
 Dispatches an incoming request to one of the member functions of this generated class, based on the operation name carried by the request.
virtual void getACMTimeoutAsync (std::function< void(std::int32_t returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the idle timeout used by the server-side of the connection.
virtual void getCategoryForClientAsync (std::function< void(std::string_view returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets a unique category that identifies the client (caller) in the router.
virtual void getSessionTimeoutAsync (std::function< void(std::int64_t returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the idle timeout used by the server-side of the connection.
std::string ice_id (const Ice::Current &current) const override
 Gets the type ID of the most-derived Slice interface supported by this object.
std::vector< std::string > ice_ids (const Ice::Current &current) const override
 Gets the Slice interfaces supported by this object as a list of type IDs.
virtual void refreshSessionAsync (std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Keeps the session with this router alive.
Public Member Functions inherited from Ice::AsyncRouter
virtual void addProxiesAsync (ObjectProxySeq proxies, std::function< void(const ObjectProxySeq &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Adds new proxy information to the router's routing table.
void dispatch (IncomingRequest &request, std::function< void(OutgoingResponse)> sendResponse) override
 Dispatches an incoming request to one of the member functions of this generated class, based on the operation name carried by the request.
virtual void getClientProxyAsync (std::function< void(const std::optional< Ice::ObjectPrx > &returnValue, std::optional< bool > hasRoutingTable)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the router's client proxy, i.e.
virtual void getServerProxyAsync (std::function< void(const std::optional< Ice::ObjectPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the router's server proxy, i.e.
std::string ice_id (const Ice::Current &current) const override
 Gets the type ID of the most-derived Slice interface supported by this object.
std::vector< std::string > ice_ids (const Ice::Current &current) const override
 Gets the Slice interfaces supported by this object as a list of type IDs.
Public Member Functions inherited from Ice::Object
 Object () noexcept=default
 Default constructor.
 Object (const Object &)=delete
 Object (Object &&)=delete
virtual bool ice_isA (std::string typeId, const Current &current) const
 Tests whether this object supports a specific Slice interface.
virtual void ice_ping (const Current &current) const
 Tests whether this object can be reached.
Objectoperator= (const Object &)=delete
Objectoperator= (Object &&)=delete

Static Public Member Functions

static const char * ice_staticId () noexcept
 Gets the type ID of the associated Slice interface.
Static Public Member Functions inherited from Ice::AsyncRouter
static const char * ice_staticId () noexcept
 Gets the type ID of the associated Slice interface.
Static Public Member Functions inherited from Ice::Object
static const char * ice_staticId () noexcept
 Gets the type ID of the associated Slice interface.

Detailed Description

The Glacier2 specialization of the Ice::RouterPrx interface.

Definition at line 485 of file Router.h.


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