Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
IceGrid::AsyncAdminSession Class Referenceabstract

Represents an administrative session between an admin tool and an IceGrid registry. More...

#include <IceGrid/IceGrid.h>

Inheritance diagram for IceGrid::AsyncAdminSession:

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 &current)=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 &current) 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 &current) 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 &current) const =0
 Gets the name of the registry replica hosting this session.
std::string ice_id (const Ice::Current &current) 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 &current) 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 &current)=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 &current)=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 &current)=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 &current)=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 &current)=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 &current)=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 &current)=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 &current)=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 &current)=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 &current)=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 &current)=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 &current)=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 &current) 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 &current) 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 &current) const
 Tests whether this object supports a specific Slice interface.
virtual void ice_ping (const Current &current) const
 Tests whether this object can be reached.
Objectoperator= (const Object &)=delete
Objectoperator= (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.

Detailed Description

Represents an administrative session between an admin tool and an IceGrid registry.

See also
RegistryPrx

Definition at line 5769 of file Admin.h.


The documentation for this class was generated from the following file: