|
virtual void | createSessionAsync (::std::string userId, ::std::string password, ::std::function< void(const ::std::shared_ptr< SessionPrx > &returnValue)> response, ::std::function< void(::std::exception_ptr)> exception, const ::Ice::Current ¤t)=0 |
| Create a per-client session with the router. More...
|
|
virtual void | createSessionFromSecureConnectionAsync (::std::function< void(const ::std::shared_ptr< SessionPrx > &returnValue)> response, ::std::function< void(::std::exception_ptr)> exception, const ::Ice::Current ¤t)=0 |
| Create a per-client session with the router. More...
|
|
virtual void | destroySession (const ::Ice::Current ¤t)=0 |
| Destroy the calling client's session with this router. More...
|
|
virtual int | getACMTimeout (const ::Ice::Current ¤t) const =0 |
| Get the value of the ACM timeout. More...
|
|
virtual ::std::string | getCategoryForClient (const ::Ice::Current ¤t) const =0 |
| This category must be used in the identities of all of the client's callback objects. More...
|
|
virtual long long int | getSessionTimeout (const ::Ice::Current ¤t) const =0 |
| Get the value of the session timeout. More...
|
|
virtual ::std::string | ice_id (const ::Ice::Current ¤t) const override |
| Obtains a Slice type ID representing the most-derived interface supported by this object. More...
|
|
virtual ::std::vector<::std::string > | ice_ids (const ::Ice::Current ¤t) const override |
| Obtains a list of the Slice type IDs representing the interfaces supported by this object. More...
|
|
virtual bool | ice_isA (::std::string id, const ::Ice::Current ¤t) const override |
| Determines whether this object supports an interface with the given Slice type ID. More...
|
|
virtual void | refreshSessionAsync (::std::function< void()> response, ::std::function< void(::std::exception_ptr)> exception, const ::Ice::Current ¤t)=0 |
| Keep the calling client's session with this router alive. More...
|
|
virtual ObjectProxySeq | addProxies (ObjectProxySeq proxies, const Current ¤t)=0 |
| Add new proxy information to the router's routing table. More...
|
|
virtual ::std::shared_ptr< ObjectPrx > | getClientProxy (Ice::optional< bool > &hasRoutingTable, const Current ¤t) const =0 |
| Get the router's client proxy, i.e., the proxy to use for forwarding requests from the client to the router. More...
|
|
virtual ::std::shared_ptr< ObjectPrx > | getServerProxy (const Current ¤t) const =0 |
| Get the router's server proxy, i.e., the proxy to use for forwarding requests from the server to the router. More...
|
|
virtual ::std::string | ice_id (const Current ¤t) const override |
| Obtains a Slice type ID representing the most-derived interface supported by this object. More...
|
|
virtual ::std::vector<::std::string > | ice_ids (const Current ¤t) const override |
| Obtains a list of the Slice type IDs representing the interfaces supported by this object. More...
|
|
virtual bool | ice_isA (::std::string id, const Current ¤t) const override |
| Determines whether this object supports an interface with the given Slice type ID. More...
|
|
virtual bool | ice_dispatch (Ice::Request &request, std::function< bool()> response=nullptr, std::function< bool(std::exception_ptr)> error=nullptr) |
| Dispatches an invocation to a servant. More...
|
|
virtual bool | ice_isA (std::string s, const Current ¤t) const |
| Tests whether this object supports a specific Slice interface. More...
|
|
virtual void | ice_ping (const Current ¤t) const |
| Tests whether this object can be reached. More...
|
|
virtual | ~Object ()=default |
|
The Glacier2 specialization of the Ice::Router
interface.
virtual void Glacier2::Router::createSessionAsync |
( |
::std::string |
userId, |
|
|
::std::string |
password, |
|
|
::std::function< void(const ::std::shared_ptr< SessionPrx > &returnValue)> |
response, |
|
|
::std::function< void(::std::exception_ptr)> |
exception, |
|
|
const ::Ice::Current & |
current |
|
) |
| |
|
pure virtual |
Create a per-client session with the router.
If a SessionManager has been installed, a proxy to a Session object is returned to the client. Otherwise, null is returned and only an internal session (i.e., not visible to the client) is created.
If a session proxy is returned, it must be configured to route through the router that created it. This will happen automatically if the router is configured as the client's default router at the time the session proxy is created in the client process, otherwise the client must configure the session proxy explicitly.
- Parameters
-
userId | The user id for which to check the password. |
password | The password for the given user id. |
response | The response callback. |
exception | The exception callback. |
current | The Current object for the invocation. |
- Exceptions
-
- See also
- Session
-
SessionManager
-
PermissionsVerifier
virtual void Glacier2::Router::createSessionFromSecureConnectionAsync |
( |
::std::function< void(const ::std::shared_ptr< SessionPrx > &returnValue)> |
response, |
|
|
::std::function< void(::std::exception_ptr)> |
exception, |
|
|
const ::Ice::Current & |
current |
|
) |
| |
|
pure virtual |
Create a per-client session with the router.
The user is authenticated through the SSL certificates that have been associated with the connection. If a SessionManager has been installed, a proxy to a Session object is returned to the client. Otherwise, null is returned and only an internal session (i.e., not visible to the client) is created.
If a session proxy is returned, it must be configured to route through the router that created it. This will happen automatically if the router is configured as the client's default router at the time the session proxy is created in the client process, otherwise the client must configure the session proxy explicitly.
- Parameters
-
response | The response callback. |
exception | The exception callback. |
current | The Current object for the invocation. |
- Exceptions
-
- See also
- Session
-
SessionManager
-
PermissionsVerifier