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

Represents an application-provided factory for session objects. More...

#include <Glacier2/Glacier2.h>

Inheritance diagram for Glacier2::SessionManager:

Public Types

using ProxyType = SessionManagerPrx
 The associated proxy type.

Public Member Functions

virtual std::optional< SessionPrxcreate (std::string userId, std::optional< SessionControlPrx > control, const Ice::Current &current)=0
 Creates a new session object.
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.
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::Object
static const char * ice_staticId () noexcept
 Gets the type ID of the associated Slice interface.

Detailed Description

Represents an application-provided factory for session objects.

You can configure a Glacier2 router with your own SessionManager implementation; this router will then return the sessions created by this session manager to its clients.

Definition at line 1043 of file Session.h.


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