|
Ice 3.7 Slice API Reference
|
The IceGrid registry allows clients create sessions directly with the registry. More...
defined in <IceGrid/Registry.ice>
interface Registry { ... }
Operations | |
| AdminSession * | createAdminSession (string userId, string password) throws PermissionDeniedException |
| Create an administrative session. More... | |
| AdminSession * | createAdminSessionFromSecureConnection () throws PermissionDeniedException |
| Create an administrative session from a secure connection. More... | |
| Session * | createSession (string userId, string password) throws PermissionDeniedException |
| Create a client session. More... | |
| Session * | createSessionFromSecureConnection () throws PermissionDeniedException |
| Create a client session from a secure connection. More... | |
| idempotent int | getACMTimeout () |
| Get the value of the ACM timeout. More... | |
| idempotent int | getSessionTimeout () |
| Get the session timeout. More... | |
The IceGrid registry allows clients create sessions directly with the registry.
| AdminSession* createAdminSession | ( | string | userId, |
| string | password | ||
| ) | throws PermissionDeniedException |
Create an administrative session.
| userId | The user id. |
| password | The password for the given user id. |
| PermissionDeniedException | Raised if the password for the given user id is not correct, or if the user is not allowed access. |
| AdminSession* createAdminSessionFromSecureConnection | ( | ) | throws PermissionDeniedException |
Create an administrative session from a secure connection.
| PermissionDeniedException | Raised if the password for the given user id is not correct, or if the user is not allowed access. |
| Session* createSession | ( | string | userId, |
| string | password | ||
| ) | throws PermissionDeniedException |
Create a client session.
| userId | The user id. |
| password | The password for the given user id. |
| PermissionDeniedException | Raised if the password for the given user id is not correct, or if the user is not allowed access. |
| Session* createSessionFromSecureConnection | ( | ) | throws PermissionDeniedException |
Create a client session from a secure connection.
| PermissionDeniedException | Raised if the password for the given user id is not correct, or if the user is not allowed access. |
| idempotent int getACMTimeout | ( | ) |
Get the value of the ACM timeout.
Clients supporting ACM connection heartbeats can enable them instead of explicitly sending keep alives requests.
NOTE: This method is only available since Ice 3.6.
| idempotent int getSessionTimeout | ( | ) |
Get the session timeout.
If a client or administrative client doesn't call the session keepAlive method in the time interval defined by this timeout, IceGrid might reap the session.