Archived

This forum has been archived. Please start a new discussion on GitHub.

IceGrid Admin Proxy

While upgrading a previous program to 3.2 i came across a problem with the IceGrid/Admin proxy. I used the proxy to add replicaGroups during runtime, but this proxy doesnt seem to be accessible from the registry anymore, how do i get access to it?

Comments

  • mes
    mes California
    Hi,

    In Ice 3.2, the only way to get a proxy for the IceGrid::Admin interface is to create an administrative session. For example:
    IceGrid::RegistryPrx registry = ...;
    IceGrid::AdminSessionPrx session =
        registry->createAdminSession("user", "password");
    IceGrid::AdminPrx admin = session->getAdmin();
    
    Take care,
    - Mark