Ice Reference Documentation | ||
---|---|---|
<<< Previous | Slice Documentation | Next >>> |
interface |
An admin session object used by administrative clients to view,
update and receive observer updates from the IceGrid
registry. Admin sessions are created either with the Registry
object or the registry admin ::Glacier2::SessionManager
object.
Keep the session alive.
Get the admin interface.
Set the proxies of the observer objects that will receive notifications from the servers when the state of the registry or nodes changes.
Set the identities of the observer objects that will receive notifications from the servers when the state of the registry or nodes changes.
Acquires an exclusive lock to start updating the registry applications.
Finish updating the registry and release the exclusive lock.
void keepAlive(); |
Keep the session alive. Clients should call this operation regularly to prevent the server from reaping the session.
|
Get the admin interface. The admin object returned by this operation can only be accessed by the session.
The admin interface proxy.
void setObservers( |
Set the proxies of the observer objects that will receive notifications from the servers when the state of the registry or nodes changes.
The registry observer.
The node observer.
void setObserversByIdentity( |
Set the identities of the observer objects that will receive notifications from the servers when the state of the registry or nodes changes. This operation should be used by clients that are using a bidirectional connection to communicate with the session.
The registry observer identity.
The node observer identity.
int startUpdate()
throws
|
Acquires an exclusive lock to start updating the registry applications.
The current serial.
AccessDeniedException
Raised if the exclusive lock can't be acquired. This might happen if the lock is currently acquired by another session.
void finishUpdate()
throws
|
Finish updating the registry and release the exclusive lock.
AccessDeniedException
Raised if the session doesn't hold the exclusive lock.
<<< Previous | Home | Next >>> |
IceGrid::Admin | Up | IceGrid::AllocationException |