Package com.zeroc.IceGrid
Interface Registry
- All Superinterfaces:
Object
The IceGrid registry allows clients create sessions
directly with the registry.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.zeroc.Ice.Object
Object.Ice_invokeResult
-
Method Summary
Modifier and TypeMethodDescriptioncreateAdminSession
(String userId, String password, Current current) Create an administrative session.Create an administrative session from a secure connection.createSession
(String userId, String password, Current current) Create a client session.createSessionFromSecureConnection
(Current current) Create a client session from a secure connection.int
getACMTimeout
(Current current) Get the value of the ACM timeout.int
getSessionTimeout
(Current current) Get the session timeout.default String
Returns the Slice type ID of the most-derived interface supported by this object.default String[]
Returns the Slice type IDs of the interfaces supported by this object.static String
Returns the Slice type ID of the interface supported by this object.Methods inherited from interface com.zeroc.Ice.Object
ice_dispatch, ice_isA, ice_ping
-
Method Details
-
createSession
SessionPrx createSession(String userId, String password, Current current) throws PermissionDeniedException Create a client session.- Parameters:
userId
- The user id.password
- The password for the given user id.current
- The Current object for the invocation.- Returns:
- A proxy for the newly created session.
- Throws:
PermissionDeniedException
- Raised if the password for the given user id is not correct, or if the user is not allowed access.
-
createAdminSession
AdminSessionPrx createAdminSession(String userId, String password, Current current) throws PermissionDeniedException Create an administrative session.- Parameters:
userId
- The user id.password
- The password for the given user id.current
- The Current object for the invocation.- Returns:
- A proxy for the newly created session.
- Throws:
PermissionDeniedException
- Raised if the password for the given user id is not correct, or if the user is not allowed access.
-
createSessionFromSecureConnection
Create a client session from a secure connection.- Parameters:
current
- The Current object for the invocation.- Returns:
- A proxy for the newly created session.
- Throws:
PermissionDeniedException
- Raised if the password for the given user id is not correct, or if the user is not allowed access.
-
createAdminSessionFromSecureConnection
AdminSessionPrx createAdminSessionFromSecureConnection(Current current) throws PermissionDeniedException Create an administrative session from a secure connection.- Parameters:
current
- The Current object for the invocation.- Returns:
- A proxy for the newly created session.
- Throws:
PermissionDeniedException
- Raised if the password for the given user id is not correct, or if the user is not allowed access.
-
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.- Parameters:
current
- The Current object for the invocation.- Returns:
- The timeout (in seconds).
- See Also:
-
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.- Parameters:
current
- The Current object for the invocation.- Returns:
- The timeout (in seconds).
-
ice_ids
Description copied from interface:Object
Returns the Slice type IDs of the interfaces supported by this object. -
ice_id
Description copied from interface:Object
Returns the Slice type ID of the most-derived interface supported by this object. -
ice_staticId
Description copied from interface:Object
Returns the Slice type ID of the interface supported by this object.- Returns:
- The return value is always ::Ice::Object.
-