Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Znav
nextIceGrid-RegistryInfo
prevIceGrid-RandomLoadBalancingPolicy
Section


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.

Ztop

Operations

IceGrid::Session*
Anchor
createSession
createSession
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*
Anchor
createAdminSession
createAdminSession
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*
Anchor
createSessionFromSecureConnection
createSessionFromSecureConnection
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*
Anchor
createAdminSessionFromSecureConnection
createAdminSessionFromSecureConnection
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
Anchor
getSessionTimeout
getSessionTimeout
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
Ztop

Znav
nextIceGrid-RegistryInfo
prevIceGrid-RandomLoadBalancingPolicy
Section