Represents an administrative session between an admin tool and an IceGrid registry. More...
#include <IceGrid/IceGrid.h>

Public Types | |
| using | ProxyType = AdminSessionPrx |
| The associated proxy type. | |
| Public Types inherited from Glacier2::AsyncSession | |
| using | ProxyType = SessionPrx |
| The associated proxy type. | |
Public Member Functions | |
| void | dispatch (Ice::IncomingRequest &request, std::function< void(Ice::OutgoingResponse)> sendResponse) override |
| Dispatches an incoming request to one of the member functions of this generated class, based on the operation name carried by the request. | |
| virtual void | finishUpdateAsync (std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current ¤t)=0 |
| Finishes updating the registry and releases the exclusive lock. | |
| virtual void | getAdminAsync (std::function< void(const std::optional< AdminPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current ¤t) const =0 |
| Gets a proxy to the IceGrid admin object. | |
| virtual void | getAdminCallbackTemplateAsync (std::function< void(const std::optional< Ice::ObjectPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current ¤t) const =0 |
| Gets a "template" proxy for admin callback objects. | |
| virtual void | getReplicaNameAsync (std::function< void(std::string_view returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current ¤t) const =0 |
| Gets the name of the registry replica hosting this session. | |
| std::string | ice_id (const Ice::Current ¤t) const override |
| Gets the type ID of the most-derived Slice interface supported by this object. | |
| std::vector< std::string > | ice_ids (const Ice::Current ¤t) const override |
| Gets the Slice interfaces supported by this object as a list of type IDs. | |
| virtual void | keepAliveAsync (std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current ¤t)=0 |
| Keeps the session alive. | |
| virtual void | openNodeStdErrAsync (std::string name, std::int32_t count, std::function< void(const std::optional< FileIteratorPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current ¤t)=0 |
| Opens a node stderr file for reading. | |
| virtual void | openNodeStdOutAsync (std::string name, std::int32_t count, std::function< void(const std::optional< FileIteratorPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current ¤t)=0 |
| Opens a node stdout file for reading. | |
| virtual void | openRegistryStdErrAsync (std::string name, std::int32_t count, std::function< void(const std::optional< FileIteratorPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current ¤t)=0 |
| Opens a registry stderr file for reading. | |
| virtual void | openRegistryStdOutAsync (std::string name, std::int32_t count, std::function< void(const std::optional< FileIteratorPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current ¤t)=0 |
| Opens a registry stdout file for reading. | |
| virtual void | openServerLogAsync (std::string id, std::string path, std::int32_t count, std::function< void(const std::optional< FileIteratorPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current ¤t)=0 |
| Opens a server log file for reading. | |
| virtual void | openServerStdErrAsync (std::string id, std::int32_t count, std::function< void(const std::optional< FileIteratorPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current ¤t)=0 |
| Opens a server stderr file for reading. | |
| virtual void | openServerStdOutAsync (std::string id, std::int32_t count, std::function< void(const std::optional< FileIteratorPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current ¤t)=0 |
| Opens a server stdout file for reading. | |
| virtual void | setObserversAsync (std::optional< RegistryObserverPrx > registryObs, std::optional< NodeObserverPrx > nodeObs, std::optional< ApplicationObserverPrx > appObs, std::optional< AdapterObserverPrx > adptObs, std::optional< ObjectObserverPrx > objObs, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current ¤t)=0 |
| Sets the observer proxies that receive notifications when the state of the registry or nodes changes. | |
| virtual void | setObserversByIdentityAsync (::Ice::Identity registryObs, ::Ice::Identity nodeObs, ::Ice::Identity appObs, ::Ice::Identity adptObs, ::Ice::Identity objObs, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current ¤t)=0 |
| Sets the observer identities that receive notifications when the state of the registry or nodes changes. | |
| virtual void | startUpdateAsync (std::function< void(std::int32_t returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current ¤t)=0 |
| Acquires an exclusive lock to start updating the registry applications. | |
| Public Member Functions inherited from Glacier2::AsyncSession | |
| virtual void | destroyAsync (std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current ¤t)=0 |
| Destroys this session. | |
| void | dispatch (Ice::IncomingRequest &request, std::function< void(Ice::OutgoingResponse)> sendResponse) override |
| Dispatches an incoming request to one of the member functions of this generated class, based on the operation name carried by the request. | |
| std::string | ice_id (const Ice::Current ¤t) const override |
| Gets the type ID of the most-derived Slice interface supported by this object. | |
| std::vector< std::string > | ice_ids (const Ice::Current ¤t) const override |
| Gets the Slice interfaces supported by this object as a list of type IDs. | |
| Public Member Functions inherited from Ice::Object | |
| Object () noexcept=default | |
| Default constructor. | |
| Object (const Object &)=delete | |
| Object (Object &&)=delete | |
| virtual bool | ice_isA (std::string typeId, const Current ¤t) const |
| Tests whether this object supports a specific Slice interface. | |
| virtual void | ice_ping (const Current ¤t) const |
| Tests whether this object can be reached. | |
| Object & | operator= (const Object &)=delete |
| Object & | operator= (Object &&)=delete |
Static Public Member Functions | |
| static const char * | ice_staticId () noexcept |
| Gets the type ID of the associated Slice interface. | |
| Static Public Member Functions inherited from Glacier2::AsyncSession | |
| static const char * | ice_staticId () noexcept |
| Gets the type ID of the associated Slice interface. | |
| Static Public Member Functions inherited from Ice::Object | |
| static const char * | ice_staticId () noexcept |
| Gets the type ID of the associated Slice interface. | |
Represents an administrative session between an admin tool and an IceGrid registry.