Ice 3.7 C++11 API Reference
Public Member Functions | Static Public Member Functions | List of all members
IceGrid::AdminSessionPrx Class Reference

Used by administrative clients to view, update, and receive observer updates from the IceGrid registry. More...

#include <IceGrid/IceGrid.h>

Inheritance diagram for IceGrid::AdminSessionPrx:
Inheritance graph
[legend]
Collaboration diagram for IceGrid::AdminSessionPrx:
Collaboration graph
[legend]

Public Member Functions

void finishUpdate (const ::Ice::Context &context=::Ice::noExplicitContext)
 Finish updating the registry and release the exclusive lock. More...
 
::std::function< void()> finishUpdateAsync (::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 Finish updating the registry and release the exclusive lock. More...
 
template<template< typename > class P = ::std::promise>
auto finishUpdateAsync (const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
 Finish updating the registry and release the exclusive lock. More...
 
::std::shared_ptr< AdminPrxgetAdmin (const ::Ice::Context &context=::Ice::noExplicitContext)
 Get the admin interface. More...
 
::std::function< void()> getAdminAsync (::std::function< void(::std::shared_ptr<::IceGrid::AdminPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 Get the admin interface. More...
 
template<template< typename > class P = ::std::promise>
auto getAdminAsync (const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::IceGrid::AdminPrx >>>().get_future())
 Get the admin interface. More...
 
::std::shared_ptr<::Ice::ObjectPrxgetAdminCallbackTemplate (const ::Ice::Context &context=::Ice::noExplicitContext)
 Get a "template" proxy for admin callback objects. More...
 
::std::function< void()> getAdminCallbackTemplateAsync (::std::function< void(::std::shared_ptr<::Ice::ObjectPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 Get a "template" proxy for admin callback objects. More...
 
template<template< typename > class P = ::std::promise>
auto getAdminCallbackTemplateAsync (const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::Ice::ObjectPrx >>>().get_future())
 Get a "template" proxy for admin callback objects. More...
 
::std::string getReplicaName (const ::Ice::Context &context=::Ice::noExplicitContext)
 Get the name of the registry replica hosting this session. More...
 
::std::function< void()> getReplicaNameAsync (::std::function< void(::std::string)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 Get the name of the registry replica hosting this session. More...
 
template<template< typename > class P = ::std::promise>
auto getReplicaNameAsync (const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::string >>().get_future())
 Get the name of the registry replica hosting this session. More...
 
void keepAlive (const ::Ice::Context &context=::Ice::noExplicitContext)
 Keep the session alive. More...
 
::std::function< void()> keepAliveAsync (::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 Keep the session alive. More...
 
template<template< typename > class P = ::std::promise>
auto keepAliveAsync (const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
 Keep the session alive. More...
 
::std::shared_ptr< FileIteratorPrxopenNodeStdErr (const ::std::string &name, int count, const ::Ice::Context &context=::Ice::noExplicitContext)
 Open the given node stderr file for reading. More...
 
::std::function< void()> openNodeStdErrAsync (const ::std::string &name, int count, ::std::function< void(::std::shared_ptr<::IceGrid::FileIteratorPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 Open the given node stderr file for reading. More...
 
template<template< typename > class P = ::std::promise>
auto openNodeStdErrAsync (const ::std::string &name, int count, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::IceGrid::FileIteratorPrx >>>().get_future())
 Open the given node stderr file for reading. More...
 
::std::shared_ptr< FileIteratorPrxopenNodeStdOut (const ::std::string &name, int count, const ::Ice::Context &context=::Ice::noExplicitContext)
 Open the given node stdout file for reading. More...
 
::std::function< void()> openNodeStdOutAsync (const ::std::string &name, int count, ::std::function< void(::std::shared_ptr<::IceGrid::FileIteratorPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 Open the given node stdout file for reading. More...
 
template<template< typename > class P = ::std::promise>
auto openNodeStdOutAsync (const ::std::string &name, int count, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::IceGrid::FileIteratorPrx >>>().get_future())
 Open the given node stdout file for reading. More...
 
::std::shared_ptr< FileIteratorPrxopenRegistryStdErr (const ::std::string &name, int count, const ::Ice::Context &context=::Ice::noExplicitContext)
 Open the given registry stderr file for reading. More...
 
::std::function< void()> openRegistryStdErrAsync (const ::std::string &name, int count, ::std::function< void(::std::shared_ptr<::IceGrid::FileIteratorPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 Open the given registry stderr file for reading. More...
 
template<template< typename > class P = ::std::promise>
auto openRegistryStdErrAsync (const ::std::string &name, int count, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::IceGrid::FileIteratorPrx >>>().get_future())
 Open the given registry stderr file for reading. More...
 
::std::shared_ptr< FileIteratorPrxopenRegistryStdOut (const ::std::string &name, int count, const ::Ice::Context &context=::Ice::noExplicitContext)
 Open the given registry stdout file for reading. More...
 
::std::function< void()> openRegistryStdOutAsync (const ::std::string &name, int count, ::std::function< void(::std::shared_ptr<::IceGrid::FileIteratorPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 Open the given registry stdout file for reading. More...
 
template<template< typename > class P = ::std::promise>
auto openRegistryStdOutAsync (const ::std::string &name, int count, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::IceGrid::FileIteratorPrx >>>().get_future())
 Open the given registry stdout file for reading. More...
 
::std::shared_ptr< FileIteratorPrxopenServerLog (const ::std::string &id, const ::std::string &path, int count, const ::Ice::Context &context=::Ice::noExplicitContext)
 Open the given server log file for reading. More...
 
::std::function< void()> openServerLogAsync (const ::std::string &id, const ::std::string &path, int count, ::std::function< void(::std::shared_ptr<::IceGrid::FileIteratorPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 Open the given server log file for reading. More...
 
template<template< typename > class P = ::std::promise>
auto openServerLogAsync (const ::std::string &id, const ::std::string &path, int count, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::IceGrid::FileIteratorPrx >>>().get_future())
 Open the given server log file for reading. More...
 
::std::shared_ptr< FileIteratorPrxopenServerStdErr (const ::std::string &id, int count, const ::Ice::Context &context=::Ice::noExplicitContext)
 Open the given server stderr file for reading. More...
 
::std::function< void()> openServerStdErrAsync (const ::std::string &id, int count, ::std::function< void(::std::shared_ptr<::IceGrid::FileIteratorPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 Open the given server stderr file for reading. More...
 
template<template< typename > class P = ::std::promise>
auto openServerStdErrAsync (const ::std::string &id, int count, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::IceGrid::FileIteratorPrx >>>().get_future())
 Open the given server stderr file for reading. More...
 
::std::shared_ptr< FileIteratorPrxopenServerStdOut (const ::std::string &id, int count, const ::Ice::Context &context=::Ice::noExplicitContext)
 Open the given server stdout file for reading. More...
 
::std::function< void()> openServerStdOutAsync (const ::std::string &id, int count, ::std::function< void(::std::shared_ptr<::IceGrid::FileIteratorPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 Open the given server stdout file for reading. More...
 
template<template< typename > class P = ::std::promise>
auto openServerStdOutAsync (const ::std::string &id, int count, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::IceGrid::FileIteratorPrx >>>().get_future())
 Open the given server stdout file for reading. More...
 
void setObservers (const ::std::shared_ptr< RegistryObserverPrx > &registryObs, const ::std::shared_ptr< NodeObserverPrx > &nodeObs, const ::std::shared_ptr< ApplicationObserverPrx > &appObs, const ::std::shared_ptr< AdapterObserverPrx > &adptObs, const ::std::shared_ptr< ObjectObserverPrx > &objObs, const ::Ice::Context &context=::Ice::noExplicitContext)
 Set the observer proxies that receive notifications when the state of the registry or nodes changes. More...
 
::std::function< void()> setObserversAsync (const ::std::shared_ptr< RegistryObserverPrx > &registryObs, const ::std::shared_ptr< NodeObserverPrx > &nodeObs, const ::std::shared_ptr< ApplicationObserverPrx > &appObs, const ::std::shared_ptr< AdapterObserverPrx > &adptObs, const ::std::shared_ptr< ObjectObserverPrx > &objObs, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 Set the observer proxies that receive notifications when the state of the registry or nodes changes. More...
 
template<template< typename > class P = ::std::promise>
auto setObserversAsync (const ::std::shared_ptr< RegistryObserverPrx > &registryObs, const ::std::shared_ptr< NodeObserverPrx > &nodeObs, const ::std::shared_ptr< ApplicationObserverPrx > &appObs, const ::std::shared_ptr< AdapterObserverPrx > &adptObs, const ::std::shared_ptr< ObjectObserverPrx > &objObs, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
 Set the observer proxies that receive notifications when the state of the registry or nodes changes. More...
 
void setObserversByIdentity (const ::Ice::Identity &registryObs, const ::Ice::Identity &nodeObs, const ::Ice::Identity &appObs, const ::Ice::Identity &adptObs, const ::Ice::Identity &objObs, const ::Ice::Context &context=::Ice::noExplicitContext)
 Set the observer identities that receive notifications the state of the registry or nodes changes. More...
 
::std::function< void()> setObserversByIdentityAsync (const ::Ice::Identity &registryObs, const ::Ice::Identity &nodeObs, const ::Ice::Identity &appObs, const ::Ice::Identity &adptObs, const ::Ice::Identity &objObs, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 Set the observer identities that receive notifications the state of the registry or nodes changes. More...
 
template<template< typename > class P = ::std::promise>
auto setObserversByIdentityAsync (const ::Ice::Identity &registryObs, const ::Ice::Identity &nodeObs, const ::Ice::Identity &appObs, const ::Ice::Identity &adptObs, const ::Ice::Identity &objObs, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
 Set the observer identities that receive notifications the state of the registry or nodes changes. More...
 
int startUpdate (const ::Ice::Context &context=::Ice::noExplicitContext)
 Acquires an exclusive lock to start updating the registry applications. More...
 
::std::function< void()> startUpdateAsync (::std::function< void(int)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 Acquires an exclusive lock to start updating the registry applications. More...
 
template<template< typename > class P = ::std::promise>
auto startUpdateAsync (const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< int >>().get_future())
 Acquires an exclusive lock to start updating the registry applications. More...
 
- Public Member Functions inherited from Ice::Proxy< AdminSessionPrx, ::Glacier2::SessionPrx >
::std::shared_ptr< AdminSessionPrx > ice_adapterId (const ::std::string &id) const
 Obtains a proxy that is identical to this proxy, except for the adapter ID. More...
 
::std::shared_ptr< AdminSessionPrx > ice_batchDatagram () const
 Obtains a proxy that is identical to this proxy, but uses batch datagram invocations. More...
 
::std::shared_ptr< AdminSessionPrx > ice_batchOneway () const
 Obtains a proxy that is identical to this proxy, but uses batch oneway invocations. More...
 
::std::shared_ptr< AdminSessionPrx > ice_collocationOptimized (bool b) const
 Obtains a proxy that is identical to this proxy, except for collocation optimization. More...
 
::std::shared_ptr< AdminSessionPrx > ice_compress (bool b) const
 Obtains a proxy that is identical to this proxy, except for its compression setting which overrides the compression setting from the proxy endpoints. More...
 
::std::shared_ptr< AdminSessionPrx > ice_connectionCached (bool b) const
 Obtains a proxy that is identical to this proxy, except for connection caching. More...
 
::std::shared_ptr< AdminSessionPrx > ice_connectionId (const ::std::string &id) const
 Obtains a proxy that is identical to this proxy, except for its connection ID. More...
 
::std::shared_ptr< AdminSessionPrx > ice_context (const ::Ice::Context &context) const
 Obtains a proxy that is identical to this proxy, except for the per-proxy context. More...
 
::std::shared_ptr< AdminSessionPrx > ice_datagram () const
 Obtains a proxy that is identical to this proxy, but uses datagram invocations. More...
 
::std::shared_ptr< AdminSessionPrx > ice_encodingVersion (const ::Ice::EncodingVersion &version) const
 Obtains a proxy that is identical to this proxy, except for the encoding used to marshal parameters. More...
 
::std::shared_ptr< AdminSessionPrx > ice_endpoints (const ::Ice::EndpointSeq &endpoints) const
 Obtains a proxy that is identical to this proxy, except for the endpoints. More...
 
::std::shared_ptr< AdminSessionPrx > ice_endpointSelection (::Ice::EndpointSelectionType type) const
 Obtains a proxy that is identical to this proxy, except for the endpoint selection policy. More...
 
::std::shared_ptr< AdminSessionPrx > ice_fixed (const ::std::shared_ptr<::Ice::Connection > &connection) const
 Obtains a proxy that is identical to this proxy, except it's a fixed proxy bound the given connection. More...
 
::std::shared_ptr< AdminSessionPrx > ice_invocationTimeout (int timeout) const
 Obtains a proxy that is identical to this proxy, except for the invocation timeout. More...
 
::std::shared_ptr< AdminSessionPrx > ice_locator (const ::std::shared_ptr<::Ice::LocatorPrx > &locator) const
 Obtains a proxy that is identical to this proxy, except for the locator. More...
 
::std::shared_ptr< AdminSessionPrx > ice_locatorCacheTimeout (int timeout) const
 Obtains a proxy that is identical to this proxy, except for the locator cache timeout. More...
 
::std::shared_ptr< AdminSessionPrx > ice_oneway () const
 Obtains a proxy that is identical to this proxy, but uses oneway invocations. More...
 
::std::shared_ptr< AdminSessionPrx > ice_preferSecure (bool b) const
 Obtains a proxy that is identical to this proxy, except for its endpoint selection policy. More...
 
::std::shared_ptr< AdminSessionPrx > ice_router (const ::std::shared_ptr<::Ice::RouterPrx > &router) const
 Obtains a proxy that is identical to this proxy, except for the router. More...
 
::std::shared_ptr< AdminSessionPrx > ice_secure (bool b) const
 Obtains a proxy that is identical to this proxy, except for how it selects endpoints. More...
 
::std::shared_ptr< AdminSessionPrx > ice_timeout (int timeout) const
 Obtains a proxy that is identical to this proxy, except for its connection timeout setting which overrides the timeot setting from the proxy endpoints. More...
 
::std::shared_ptr< AdminSessionPrx > ice_twoway () const
 Obtains a proxy that is identical to this proxy, but uses twoway invocations. More...
 

Static Public Member Functions

static const ::std::string & ice_staticId ()
 Obtains the Slice type ID of this interface. More...
 

Detailed Description

Used by administrative clients to view, update, and receive observer updates from the IceGrid registry.

Admin sessions are created either via the Registry object or via the registry admin SessionManager object.

See also
Registry

Member Function Documentation

◆ finishUpdate()

void IceGrid::AdminSessionPrx::finishUpdate ( const ::Ice::Context context = ::Ice::noExplicitContext)
inline

Finish updating the registry and release the exclusive lock.

Parameters
contextThe Context map to send with the invocation.
Exceptions
IceGrid::AccessDeniedExceptionRaised if the session doesn't hold the exclusive lock.

◆ finishUpdateAsync() [1/2]

::std::function<void()> IceGrid::AdminSessionPrx::finishUpdateAsync ( ::std::function< void()>  response,
::std::function< void(::std::exception_ptr)>  ex = nullptr,
::std::function< void(bool)>  sent = nullptr,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Finish updating the registry and release the exclusive lock.

Parameters
responseThe response callback.
exThe exception callback.
sentThe sent callback.
contextThe Context map to send with the invocation.
Returns
A function that can be called to cancel the invocation locally.

◆ finishUpdateAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::AdminSessionPrx::finishUpdateAsync ( const ::Ice::Context context = ::Ice::noExplicitContext) -> decltype(::std::declval<P<void>>().get_future())
inline

Finish updating the registry and release the exclusive lock.

Parameters
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ getAdmin()

::std::shared_ptr<AdminPrx> IceGrid::AdminSessionPrx::getAdmin ( const ::Ice::Context context = ::Ice::noExplicitContext)
inline

Get the admin interface.

The admin object returned by this operation can only be accessed by the session.

Parameters
contextThe Context map to send with the invocation.
Returns
The admin interface proxy.

◆ getAdminAsync() [1/2]

::std::function<void()> IceGrid::AdminSessionPrx::getAdminAsync ( ::std::function< void(::std::shared_ptr<::IceGrid::AdminPrx >)>  response,
::std::function< void(::std::exception_ptr)>  ex = nullptr,
::std::function< void(bool)>  sent = nullptr,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Get the admin interface.

The admin object returned by this operation can only be accessed by the session.

Parameters
responseThe response callback.
exThe exception callback.
sentThe sent callback.
contextThe Context map to send with the invocation.
Returns
A function that can be called to cancel the invocation locally.

◆ getAdminAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::AdminSessionPrx::getAdminAsync ( const ::Ice::Context context = ::Ice::noExplicitContext) -> decltype(::std::declval<P<::std::shared_ptr<::IceGrid::AdminPrx>>>().get_future())
inline

Get the admin interface.

The admin object returned by this operation can only be accessed by the session.

Parameters
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ getAdminCallbackTemplate()

::std::shared_ptr<::Ice::ObjectPrx> IceGrid::AdminSessionPrx::getAdminCallbackTemplate ( const ::Ice::Context context = ::Ice::noExplicitContext)
inline

Get a "template" proxy for admin callback objects.

An Admin client uses this proxy to set the category of its callback objects, and the published endpoints of the object adapter hosting the admin callback objects.

Parameters
contextThe Context map to send with the invocation.
Returns
A template proxy. The returned proxy is null when the Admin session was established using Glacier2.

◆ getAdminCallbackTemplateAsync() [1/2]

::std::function<void()> IceGrid::AdminSessionPrx::getAdminCallbackTemplateAsync ( ::std::function< void(::std::shared_ptr<::Ice::ObjectPrx >)>  response,
::std::function< void(::std::exception_ptr)>  ex = nullptr,
::std::function< void(bool)>  sent = nullptr,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Get a "template" proxy for admin callback objects.

An Admin client uses this proxy to set the category of its callback objects, and the published endpoints of the object adapter hosting the admin callback objects.

Parameters
responseThe response callback.
exThe exception callback.
sentThe sent callback.
contextThe Context map to send with the invocation.
Returns
A function that can be called to cancel the invocation locally.

◆ getAdminCallbackTemplateAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::AdminSessionPrx::getAdminCallbackTemplateAsync ( const ::Ice::Context context = ::Ice::noExplicitContext) -> decltype(::std::declval<P<::std::shared_ptr<::Ice::ObjectPrx>>>().get_future())
inline

Get a "template" proxy for admin callback objects.

An Admin client uses this proxy to set the category of its callback objects, and the published endpoints of the object adapter hosting the admin callback objects.

Parameters
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ getReplicaName()

::std::string IceGrid::AdminSessionPrx::getReplicaName ( const ::Ice::Context context = ::Ice::noExplicitContext)
inline

Get the name of the registry replica hosting this session.

Parameters
contextThe Context map to send with the invocation.
Returns
The replica name of the registry.

◆ getReplicaNameAsync() [1/2]

::std::function<void()> IceGrid::AdminSessionPrx::getReplicaNameAsync ( ::std::function< void(::std::string)>  response,
::std::function< void(::std::exception_ptr)>  ex = nullptr,
::std::function< void(bool)>  sent = nullptr,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Get the name of the registry replica hosting this session.

Parameters
responseThe response callback.
exThe exception callback.
sentThe sent callback.
contextThe Context map to send with the invocation.
Returns
A function that can be called to cancel the invocation locally.

◆ getReplicaNameAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::AdminSessionPrx::getReplicaNameAsync ( const ::Ice::Context context = ::Ice::noExplicitContext) -> decltype(::std::declval<P<::std::string>>().get_future())
inline

Get the name of the registry replica hosting this session.

Parameters
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ ice_staticId()

static const ::std::string& IceGrid::AdminSessionPrx::ice_staticId ( )
static

Obtains the Slice type ID of this interface.

Returns
The fully-scoped type ID.

◆ keepAlive()

void IceGrid::AdminSessionPrx::keepAlive ( const ::Ice::Context context = ::Ice::noExplicitContext)
inline

Keep the session alive.

Clients should call this operation regularly to prevent the server from reaping the session.

Parameters
contextThe Context map to send with the invocation.
See also
Registry::getSessionTimeout

◆ keepAliveAsync() [1/2]

::std::function<void()> IceGrid::AdminSessionPrx::keepAliveAsync ( ::std::function< void()>  response,
::std::function< void(::std::exception_ptr)>  ex = nullptr,
::std::function< void(bool)>  sent = nullptr,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Keep the session alive.

Clients should call this operation regularly to prevent the server from reaping the session.

Parameters
responseThe response callback.
exThe exception callback.
sentThe sent callback.
contextThe Context map to send with the invocation.
Returns
A function that can be called to cancel the invocation locally.
See also
Registry::getSessionTimeout

◆ keepAliveAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::AdminSessionPrx::keepAliveAsync ( const ::Ice::Context context = ::Ice::noExplicitContext) -> decltype(::std::declval<P<void>>().get_future())
inline

Keep the session alive.

Clients should call this operation regularly to prevent the server from reaping the session.

Parameters
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.
See also
Registry::getSessionTimeout

◆ openNodeStdErr()

::std::shared_ptr<FileIteratorPrx> IceGrid::AdminSessionPrx::openNodeStdErr ( const ::std::string &  name,
int  count,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Open the given node stderr file for reading.

The file can be read with the returned file iterator.

Parameters
nameThe node name.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
contextThe Context map to send with the invocation.
Returns
An iterator to read the file.
Exceptions
IceGrid::FileNotAvailableExceptionRaised if the file can't be read.
IceGrid::NodeNotExistExceptionRaised if the node doesn't exist.
IceGrid::NodeUnreachableExceptionRaised if the node could not be reached.

◆ openNodeStdErrAsync() [1/2]

::std::function<void()> IceGrid::AdminSessionPrx::openNodeStdErrAsync ( const ::std::string &  name,
int  count,
::std::function< void(::std::shared_ptr<::IceGrid::FileIteratorPrx >)>  response,
::std::function< void(::std::exception_ptr)>  ex = nullptr,
::std::function< void(bool)>  sent = nullptr,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Open the given node stderr file for reading.

The file can be read with the returned file iterator.

Parameters
nameThe node name.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
responseThe response callback.
exThe exception callback.
sentThe sent callback.
contextThe Context map to send with the invocation.
Returns
A function that can be called to cancel the invocation locally.

◆ openNodeStdErrAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::AdminSessionPrx::openNodeStdErrAsync ( const ::std::string &  name,
int  count,
const ::Ice::Context context = ::Ice::noExplicitContext 
) -> decltype(::std::declval<P<::std::shared_ptr<::IceGrid::FileIteratorPrx>>>().get_future())
inline

Open the given node stderr file for reading.

The file can be read with the returned file iterator.

Parameters
nameThe node name.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ openNodeStdOut()

::std::shared_ptr<FileIteratorPrx> IceGrid::AdminSessionPrx::openNodeStdOut ( const ::std::string &  name,
int  count,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Open the given node stdout file for reading.

The file can be read with the returned file iterator.

Parameters
nameThe node name.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
contextThe Context map to send with the invocation.
Returns
An iterator to read the file.
Exceptions
IceGrid::FileNotAvailableExceptionRaised if the file can't be read.
IceGrid::NodeNotExistExceptionRaised if the node doesn't exist.
IceGrid::NodeUnreachableExceptionRaised if the node could not be reached.

◆ openNodeStdOutAsync() [1/2]

::std::function<void()> IceGrid::AdminSessionPrx::openNodeStdOutAsync ( const ::std::string &  name,
int  count,
::std::function< void(::std::shared_ptr<::IceGrid::FileIteratorPrx >)>  response,
::std::function< void(::std::exception_ptr)>  ex = nullptr,
::std::function< void(bool)>  sent = nullptr,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Open the given node stdout file for reading.

The file can be read with the returned file iterator.

Parameters
nameThe node name.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
responseThe response callback.
exThe exception callback.
sentThe sent callback.
contextThe Context map to send with the invocation.
Returns
A function that can be called to cancel the invocation locally.

◆ openNodeStdOutAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::AdminSessionPrx::openNodeStdOutAsync ( const ::std::string &  name,
int  count,
const ::Ice::Context context = ::Ice::noExplicitContext 
) -> decltype(::std::declval<P<::std::shared_ptr<::IceGrid::FileIteratorPrx>>>().get_future())
inline

Open the given node stdout file for reading.

The file can be read with the returned file iterator.

Parameters
nameThe node name.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ openRegistryStdErr()

::std::shared_ptr<FileIteratorPrx> IceGrid::AdminSessionPrx::openRegistryStdErr ( const ::std::string &  name,
int  count,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Open the given registry stderr file for reading.

The file can be read with the returned file iterator.

Parameters
nameThe registry name.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
contextThe Context map to send with the invocation.
Returns
An iterator to read the file.
Exceptions
IceGrid::FileNotAvailableExceptionRaised if the file can't be read.
IceGrid::RegistryNotExistExceptionRaised if the registry doesn't exist.
IceGrid::RegistryUnreachableExceptionRaised if the registry could not be reached.

◆ openRegistryStdErrAsync() [1/2]

::std::function<void()> IceGrid::AdminSessionPrx::openRegistryStdErrAsync ( const ::std::string &  name,
int  count,
::std::function< void(::std::shared_ptr<::IceGrid::FileIteratorPrx >)>  response,
::std::function< void(::std::exception_ptr)>  ex = nullptr,
::std::function< void(bool)>  sent = nullptr,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Open the given registry stderr file for reading.

The file can be read with the returned file iterator.

Parameters
nameThe registry name.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
responseThe response callback.
exThe exception callback.
sentThe sent callback.
contextThe Context map to send with the invocation.
Returns
A function that can be called to cancel the invocation locally.

◆ openRegistryStdErrAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::AdminSessionPrx::openRegistryStdErrAsync ( const ::std::string &  name,
int  count,
const ::Ice::Context context = ::Ice::noExplicitContext 
) -> decltype(::std::declval<P<::std::shared_ptr<::IceGrid::FileIteratorPrx>>>().get_future())
inline

Open the given registry stderr file for reading.

The file can be read with the returned file iterator.

Parameters
nameThe registry name.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ openRegistryStdOut()

::std::shared_ptr<FileIteratorPrx> IceGrid::AdminSessionPrx::openRegistryStdOut ( const ::std::string &  name,
int  count,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Open the given registry stdout file for reading.

The file can be read with the returned file iterator.

Parameters
nameThe registry name.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
contextThe Context map to send with the invocation.
Returns
An iterator to read the file.
Exceptions
IceGrid::FileNotAvailableExceptionRaised if the file can't be read.
IceGrid::RegistryNotExistExceptionRaised if the registry doesn't exist.
IceGrid::RegistryUnreachableExceptionRaised if the registry could not be reached.

◆ openRegistryStdOutAsync() [1/2]

::std::function<void()> IceGrid::AdminSessionPrx::openRegistryStdOutAsync ( const ::std::string &  name,
int  count,
::std::function< void(::std::shared_ptr<::IceGrid::FileIteratorPrx >)>  response,
::std::function< void(::std::exception_ptr)>  ex = nullptr,
::std::function< void(bool)>  sent = nullptr,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Open the given registry stdout file for reading.

The file can be read with the returned file iterator.

Parameters
nameThe registry name.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
responseThe response callback.
exThe exception callback.
sentThe sent callback.
contextThe Context map to send with the invocation.
Returns
A function that can be called to cancel the invocation locally.

◆ openRegistryStdOutAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::AdminSessionPrx::openRegistryStdOutAsync ( const ::std::string &  name,
int  count,
const ::Ice::Context context = ::Ice::noExplicitContext 
) -> decltype(::std::declval<P<::std::shared_ptr<::IceGrid::FileIteratorPrx>>>().get_future())
inline

Open the given registry stdout file for reading.

The file can be read with the returned file iterator.

Parameters
nameThe registry name.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ openServerLog()

::std::shared_ptr<FileIteratorPrx> IceGrid::AdminSessionPrx::openServerLog ( const ::std::string &  id,
const ::std::string &  path,
int  count,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Open the given server log file for reading.

The file can be read with the returned file iterator.

Parameters
idThe server id.
pathThe path of the log file. A log file can be opened only if it's declared in the server or service deployment descriptor.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
contextThe Context map to send with the invocation.
Returns
An iterator to read the file.
Exceptions
IceGrid::DeploymentExceptionRaised if the server couldn't be deployed on the node.
IceGrid::FileNotAvailableExceptionRaised if the file can't be read.
IceGrid::NodeUnreachableExceptionRaised if the node could not be reached.
IceGrid::ServerNotExistExceptionRaised if the server doesn't exist.

◆ openServerLogAsync() [1/2]

::std::function<void()> IceGrid::AdminSessionPrx::openServerLogAsync ( const ::std::string &  id,
const ::std::string &  path,
int  count,
::std::function< void(::std::shared_ptr<::IceGrid::FileIteratorPrx >)>  response,
::std::function< void(::std::exception_ptr)>  ex = nullptr,
::std::function< void(bool)>  sent = nullptr,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Open the given server log file for reading.

The file can be read with the returned file iterator.

Parameters
idThe server id.
pathThe path of the log file. A log file can be opened only if it's declared in the server or service deployment descriptor.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
responseThe response callback.
exThe exception callback.
sentThe sent callback.
contextThe Context map to send with the invocation.
Returns
A function that can be called to cancel the invocation locally.

◆ openServerLogAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::AdminSessionPrx::openServerLogAsync ( const ::std::string &  id,
const ::std::string &  path,
int  count,
const ::Ice::Context context = ::Ice::noExplicitContext 
) -> decltype(::std::declval<P<::std::shared_ptr<::IceGrid::FileIteratorPrx>>>().get_future())
inline

Open the given server log file for reading.

The file can be read with the returned file iterator.

Parameters
idThe server id.
pathThe path of the log file. A log file can be opened only if it's declared in the server or service deployment descriptor.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ openServerStdErr()

::std::shared_ptr<FileIteratorPrx> IceGrid::AdminSessionPrx::openServerStdErr ( const ::std::string &  id,
int  count,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Open the given server stderr file for reading.

The file can be read with the returned file iterator.

Parameters
idThe server id.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
contextThe Context map to send with the invocation.
Returns
An iterator to read the file.
Exceptions
IceGrid::DeploymentExceptionRaised if the server couldn't be deployed on the node.
IceGrid::FileNotAvailableExceptionRaised if the file can't be read.
IceGrid::NodeUnreachableExceptionRaised if the node could not be reached.
IceGrid::ServerNotExistExceptionRaised if the server doesn't exist.

◆ openServerStdErrAsync() [1/2]

::std::function<void()> IceGrid::AdminSessionPrx::openServerStdErrAsync ( const ::std::string &  id,
int  count,
::std::function< void(::std::shared_ptr<::IceGrid::FileIteratorPrx >)>  response,
::std::function< void(::std::exception_ptr)>  ex = nullptr,
::std::function< void(bool)>  sent = nullptr,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Open the given server stderr file for reading.

The file can be read with the returned file iterator.

Parameters
idThe server id.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
responseThe response callback.
exThe exception callback.
sentThe sent callback.
contextThe Context map to send with the invocation.
Returns
A function that can be called to cancel the invocation locally.

◆ openServerStdErrAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::AdminSessionPrx::openServerStdErrAsync ( const ::std::string &  id,
int  count,
const ::Ice::Context context = ::Ice::noExplicitContext 
) -> decltype(::std::declval<P<::std::shared_ptr<::IceGrid::FileIteratorPrx>>>().get_future())
inline

Open the given server stderr file for reading.

The file can be read with the returned file iterator.

Parameters
idThe server id.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ openServerStdOut()

::std::shared_ptr<FileIteratorPrx> IceGrid::AdminSessionPrx::openServerStdOut ( const ::std::string &  id,
int  count,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Open the given server stdout file for reading.

The file can be read with the returned file iterator.

Parameters
idThe server id.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
contextThe Context map to send with the invocation.
Returns
An iterator to read the file.
Exceptions
IceGrid::DeploymentExceptionRaised if the server couldn't be deployed on the node.
IceGrid::FileNotAvailableExceptionRaised if the file can't be read.
IceGrid::NodeUnreachableExceptionRaised if the node could not be reached.
IceGrid::ServerNotExistExceptionRaised if the server doesn't exist.

◆ openServerStdOutAsync() [1/2]

::std::function<void()> IceGrid::AdminSessionPrx::openServerStdOutAsync ( const ::std::string &  id,
int  count,
::std::function< void(::std::shared_ptr<::IceGrid::FileIteratorPrx >)>  response,
::std::function< void(::std::exception_ptr)>  ex = nullptr,
::std::function< void(bool)>  sent = nullptr,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Open the given server stdout file for reading.

The file can be read with the returned file iterator.

Parameters
idThe server id.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
responseThe response callback.
exThe exception callback.
sentThe sent callback.
contextThe Context map to send with the invocation.
Returns
A function that can be called to cancel the invocation locally.

◆ openServerStdOutAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::AdminSessionPrx::openServerStdOutAsync ( const ::std::string &  id,
int  count,
const ::Ice::Context context = ::Ice::noExplicitContext 
) -> decltype(::std::declval<P<::std::shared_ptr<::IceGrid::FileIteratorPrx>>>().get_future())
inline

Open the given server stdout file for reading.

The file can be read with the returned file iterator.

Parameters
idThe server id.
countSpecifies where to start reading the file. If negative, the file is read from the begining. If 0 or positive, the file is read from the last count lines.
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ setObservers()

void IceGrid::AdminSessionPrx::setObservers ( const ::std::shared_ptr< RegistryObserverPrx > &  registryObs,
const ::std::shared_ptr< NodeObserverPrx > &  nodeObs,
const ::std::shared_ptr< ApplicationObserverPrx > &  appObs,
const ::std::shared_ptr< AdapterObserverPrx > &  adptObs,
const ::std::shared_ptr< ObjectObserverPrx > &  objObs,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Set the observer proxies that receive notifications when the state of the registry or nodes changes.

Parameters
registryObsThe registry observer.
nodeObsThe node observer.
appObsThe application observer.
adptObsThe adapter observer.
objObsThe object observer.
contextThe Context map to send with the invocation.
Exceptions
IceGrid::ObserverAlreadyRegisteredExceptionRaised if an observer is already registered with this registry.

◆ setObserversAsync() [1/2]

::std::function<void()> IceGrid::AdminSessionPrx::setObserversAsync ( const ::std::shared_ptr< RegistryObserverPrx > &  registryObs,
const ::std::shared_ptr< NodeObserverPrx > &  nodeObs,
const ::std::shared_ptr< ApplicationObserverPrx > &  appObs,
const ::std::shared_ptr< AdapterObserverPrx > &  adptObs,
const ::std::shared_ptr< ObjectObserverPrx > &  objObs,
::std::function< void()>  response,
::std::function< void(::std::exception_ptr)>  ex = nullptr,
::std::function< void(bool)>  sent = nullptr,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Set the observer proxies that receive notifications when the state of the registry or nodes changes.

Parameters
registryObsThe registry observer.
nodeObsThe node observer.
appObsThe application observer.
adptObsThe adapter observer.
objObsThe object observer.
responseThe response callback.
exThe exception callback.
sentThe sent callback.
contextThe Context map to send with the invocation.
Returns
A function that can be called to cancel the invocation locally.

◆ setObserversAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::AdminSessionPrx::setObserversAsync ( const ::std::shared_ptr< RegistryObserverPrx > &  registryObs,
const ::std::shared_ptr< NodeObserverPrx > &  nodeObs,
const ::std::shared_ptr< ApplicationObserverPrx > &  appObs,
const ::std::shared_ptr< AdapterObserverPrx > &  adptObs,
const ::std::shared_ptr< ObjectObserverPrx > &  objObs,
const ::Ice::Context context = ::Ice::noExplicitContext 
) -> decltype(::std::declval<P<void>>().get_future())
inline

Set the observer proxies that receive notifications when the state of the registry or nodes changes.

Parameters
registryObsThe registry observer.
nodeObsThe node observer.
appObsThe application observer.
adptObsThe adapter observer.
objObsThe object observer.
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ setObserversByIdentity()

void IceGrid::AdminSessionPrx::setObserversByIdentity ( const ::Ice::Identity registryObs,
const ::Ice::Identity nodeObs,
const ::Ice::Identity appObs,
const ::Ice::Identity adptObs,
const ::Ice::Identity objObs,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Set the observer identities that receive notifications 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.

Parameters
registryObsThe registry observer identity.
nodeObsThe node observer identity.
appObsThe application observer.
adptObsThe adapter observer.
objObsThe object observer.
contextThe Context map to send with the invocation.
Exceptions
IceGrid::ObserverAlreadyRegisteredExceptionRaised if an observer is already registered with this registry.

◆ setObserversByIdentityAsync() [1/2]

::std::function<void()> IceGrid::AdminSessionPrx::setObserversByIdentityAsync ( const ::Ice::Identity registryObs,
const ::Ice::Identity nodeObs,
const ::Ice::Identity appObs,
const ::Ice::Identity adptObs,
const ::Ice::Identity objObs,
::std::function< void()>  response,
::std::function< void(::std::exception_ptr)>  ex = nullptr,
::std::function< void(bool)>  sent = nullptr,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Set the observer identities that receive notifications 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.

Parameters
registryObsThe registry observer identity.
nodeObsThe node observer identity.
appObsThe application observer.
adptObsThe adapter observer.
objObsThe object observer.
responseThe response callback.
exThe exception callback.
sentThe sent callback.
contextThe Context map to send with the invocation.
Returns
A function that can be called to cancel the invocation locally.

◆ setObserversByIdentityAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::AdminSessionPrx::setObserversByIdentityAsync ( const ::Ice::Identity registryObs,
const ::Ice::Identity nodeObs,
const ::Ice::Identity appObs,
const ::Ice::Identity adptObs,
const ::Ice::Identity objObs,
const ::Ice::Context context = ::Ice::noExplicitContext 
) -> decltype(::std::declval<P<void>>().get_future())
inline

Set the observer identities that receive notifications 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.

Parameters
registryObsThe registry observer identity.
nodeObsThe node observer identity.
appObsThe application observer.
adptObsThe adapter observer.
objObsThe object observer.
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ startUpdate()

int IceGrid::AdminSessionPrx::startUpdate ( const ::Ice::Context context = ::Ice::noExplicitContext)
inline

Acquires an exclusive lock to start updating the registry applications.

Parameters
contextThe Context map to send with the invocation.
Returns
The current serial.
Exceptions
IceGrid::AccessDeniedExceptionRaised if the exclusive lock can't be acquired. This might happen if the lock is currently acquired by another session.

◆ startUpdateAsync() [1/2]

::std::function<void()> IceGrid::AdminSessionPrx::startUpdateAsync ( ::std::function< void(int)>  response,
::std::function< void(::std::exception_ptr)>  ex = nullptr,
::std::function< void(bool)>  sent = nullptr,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

Acquires an exclusive lock to start updating the registry applications.

Parameters
responseThe response callback.
exThe exception callback.
sentThe sent callback.
contextThe Context map to send with the invocation.
Returns
A function that can be called to cancel the invocation locally.

◆ startUpdateAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::AdminSessionPrx::startUpdateAsync ( const ::Ice::Context context = ::Ice::noExplicitContext) -> decltype(::std::declval<P<int>>().get_future())
inline

Acquires an exclusive lock to start updating the registry applications.

Parameters
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

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