Documentation for Ice 3.4. The latest release is Ice 3.7. Refer to the space directory for other releases.


IceGrid::Registry

Overview

interface Registry

The IceGrid registry allows clients create sessions directly with the registry.

See Also

Operation Index

createSession — Create a client session.
createAdminSession — Create an administrative session.
createSessionFromSecureConnection — Create a client session from a secure connection.
createAdminSessionFromSecureConnection — Create an administrative session from a secure connection.
getSessionTimeout — Get the session timeout.

Operations

IceGrid::Session* createSession(string userId, string password) throws IceGrid::PermissionDeniedException

Create a client session.

Parameters

userId — The user id.
password — The password for the given user id.

Return Value

A proxy for the newly created session.

Exceptions

IceGrid::PermissionDeniedException — Raised if the password for the given user id is not correct, or if the user is not allowed access.

See Also

IceGrid::AdminSession* createAdminSession(string userId, string password) throws IceGrid::PermissionDeniedException

Create an administrative session.

Parameters

userId — The user id.
password — The password for the given user id.

Return Value

A proxy for the newly created session.

Exceptions

IceGrid::PermissionDeniedException — Raised if the password for the given user id is not correct, or if the user is not allowed access.

See Also

IceGrid::Session* createSessionFromSecureConnection() throws IceGrid::PermissionDeniedException

Create a client session from a secure connection.

Return Value

A proxy for the newly created session.

Exceptions

IceGrid::PermissionDeniedException — Raised if the password for the given user id is not correct, or if the user is not allowed access.

See Also

IceGrid::AdminSession* createAdminSessionFromSecureConnection() throws IceGrid::PermissionDeniedException

Create an administrative session from a secure connection.

Return Value

A proxy for the newly created session.

Exceptions

IceGrid::PermissionDeniedException — Raised if the password for the given user id is not correct, or if the user is not allowed access.

See Also

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.

Return Value

The timeout (in seconds).

See Also

  • No labels