Ice 3.7 C++11 API Reference
Loading...
Searching...
No Matches
Glacier2::IdentitySetPrx Class Reference

An object for managing the set of object identity constraints on a Session. More...

#include <Glacier2/Glacier2.h>

Inheritance diagram for Glacier2::IdentitySetPrx:
Collaboration diagram for Glacier2::IdentitySetPrx:

Public Member Functions

void add (const ::Ice::IdentitySeq &additions, const ::Ice::Context &context=::Ice::noExplicitContext)
 Add a sequence of Ice identities to this set of constraints.
::std::function< void()> addAsync (const ::Ice::IdentitySeq &additions, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 Add a sequence of Ice identities to this set of constraints.
template<template< typename > class P = ::std::promise>
auto addAsync (const ::Ice::IdentitySeq &additions, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void > >().get_future())
 Add a sequence of Ice identities to this set of constraints.
::Ice::IdentitySeq get (const ::Ice::Context &context=::Ice::noExplicitContext)
 Returns a sequence of identities describing the constraints in this set.
::std::function< void()> getAsync (::std::function< void(::Ice::IdentitySeq)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 Returns a sequence of identities describing the constraints in this set.
template<template< typename > class P = ::std::promise>
auto getAsync (const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::Ice::IdentitySeq > >().get_future())
 Returns a sequence of identities describing the constraints in this set.
void remove (const ::Ice::IdentitySeq &deletions, const ::Ice::Context &context=::Ice::noExplicitContext)
 Remove a sequence of identities from this set of constraints.
::std::function< void()> removeAsync (const ::Ice::IdentitySeq &deletions, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 Remove a sequence of identities from this set of constraints.
template<template< typename > class P = ::std::promise>
auto removeAsync (const ::Ice::IdentitySeq &deletions, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void > >().get_future())
 Remove a sequence of identities from this set of constraints.
Public Member Functions inherited from Ice::Proxy< IdentitySetPrx, ::Ice::ObjectPrx >
::std::shared_ptr< IdentitySetPrx > ice_adapterId (const ::std::string &id) const
 Obtains a proxy that is identical to this proxy, except for the adapter ID.
::std::shared_ptr< IdentitySetPrx > ice_batchDatagram () const
 Obtains a proxy that is identical to this proxy, but uses batch datagram invocations.
::std::shared_ptr< IdentitySetPrx > ice_batchOneway () const
 Obtains a proxy that is identical to this proxy, but uses batch oneway invocations.
::std::shared_ptr< IdentitySetPrx > ice_collocationOptimized (bool b) const
 Obtains a proxy that is identical to this proxy, except for collocation optimization.
::std::shared_ptr< IdentitySetPrx > 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.
::std::shared_ptr< IdentitySetPrx > ice_connectionCached (bool b) const
 Obtains a proxy that is identical to this proxy, except for connection caching.
::std::shared_ptr< IdentitySetPrx > ice_connectionId (const ::std::string &id) const
 Obtains a proxy that is identical to this proxy, except for its connection ID.
::std::shared_ptr< IdentitySetPrx > ice_context (const ::Ice::Context &context) const
 Obtains a proxy that is identical to this proxy, except for the per-proxy context.
::std::shared_ptr< IdentitySetPrx > ice_datagram () const
 Obtains a proxy that is identical to this proxy, but uses datagram invocations.
::std::shared_ptr< IdentitySetPrx > ice_encodingVersion (const ::Ice::EncodingVersion &version) const
 Obtains a proxy that is identical to this proxy, except for the encoding used to marshal parameters.
::std::shared_ptr< IdentitySetPrx > ice_endpoints (const ::Ice::EndpointSeq &endpoints) const
 Obtains a proxy that is identical to this proxy, except for the endpoints.
::std::shared_ptr< IdentitySetPrx > ice_endpointSelection (::Ice::EndpointSelectionType type) const
 Obtains a proxy that is identical to this proxy, except for the endpoint selection policy.
::std::shared_ptr< IdentitySetPrx > 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.
::std::shared_ptr< IdentitySetPrx > ice_invocationTimeout (int timeout) const
 Obtains a proxy that is identical to this proxy, except for the invocation timeout.
::std::shared_ptr< IdentitySetPrx > ice_locator (const ::std::shared_ptr<::Ice::LocatorPrx > &locator) const
 Obtains a proxy that is identical to this proxy, except for the locator.
::std::shared_ptr< IdentitySetPrx > ice_locatorCacheTimeout (int timeout) const
 Obtains a proxy that is identical to this proxy, except for the locator cache timeout.
::std::shared_ptr< IdentitySetPrx > ice_oneway () const
 Obtains a proxy that is identical to this proxy, but uses oneway invocations.
::std::shared_ptr< IdentitySetPrx > ice_preferSecure (bool b) const
 Obtains a proxy that is identical to this proxy, except for its endpoint selection policy.
::std::shared_ptr< IdentitySetPrx > ice_router (const ::std::shared_ptr<::Ice::RouterPrx > &router) const
 Obtains a proxy that is identical to this proxy, except for the router.
::std::shared_ptr< IdentitySetPrx > ice_secure (bool b) const
 Obtains a proxy that is identical to this proxy, except for how it selects endpoints.
::std::shared_ptr< IdentitySetPrx > 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.
::std::shared_ptr< IdentitySetPrx > ice_twoway () const
 Obtains a proxy that is identical to this proxy, but uses twoway invocations.

Static Public Member Functions

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

Detailed Description

An object for managing the set of object identity constraints on a Session.

See also
Session
SessionControl

Member Function Documentation

◆ add()

void Glacier2::IdentitySetPrx::add ( const ::Ice::IdentitySeq & additions,
const ::Ice::Context & context = ::Ice::noExplicitContext )
inline

Add a sequence of Ice identities to this set of constraints.

Order is not preserved and duplicates are implicitly removed.

Parameters
additionsThe sequence of Ice identities to be added.
contextThe Context map to send with the invocation.

◆ addAsync() [1/2]

::std::function< void()> Glacier2::IdentitySetPrx::addAsync ( const ::Ice::IdentitySeq & additions,
::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

Add a sequence of Ice identities to this set of constraints.

Order is not preserved and duplicates are implicitly removed.

Parameters
additionsThe sequence of Ice identities to be added.
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.

◆ addAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto Glacier2::IdentitySetPrx::addAsync ( const ::Ice::IdentitySeq & additions,
const ::Ice::Context & context = ::Ice::noExplicitContext ) -> decltype(::std::declval< P< void > >().get_future())
inline

Add a sequence of Ice identities to this set of constraints.

Order is not preserved and duplicates are implicitly removed.

Parameters
additionsThe sequence of Ice identities to be added.
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ get()

::Ice::IdentitySeq Glacier2::IdentitySetPrx::get ( const ::Ice::Context & context = ::Ice::noExplicitContext)
inline

Returns a sequence of identities describing the constraints in this set.

Parameters
contextThe Context map to send with the invocation.
Returns
The sequence of Ice identities for this set.

◆ getAsync() [1/2]

::std::function< void()> Glacier2::IdentitySetPrx::getAsync ( ::std::function< void(::Ice::IdentitySeq)> response,
::std::function< void(::std::exception_ptr)> ex = nullptr,
::std::function< void(bool)> sent = nullptr,
const ::Ice::Context & context = ::Ice::noExplicitContext )
inline

Returns a sequence of identities describing the constraints in this set.

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.

◆ getAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto Glacier2::IdentitySetPrx::getAsync ( const ::Ice::Context & context = ::Ice::noExplicitContext) -> decltype(::std::declval< P<::Ice::IdentitySeq > >().get_future())
inline

Returns a sequence of identities describing the constraints in this set.

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

◆ ice_staticId()

const ::std::string & Glacier2::IdentitySetPrx::ice_staticId ( )
static

Obtains the Slice type ID of this interface.

Returns
The fully-scoped type ID.

◆ remove()

void Glacier2::IdentitySetPrx::remove ( const ::Ice::IdentitySeq & deletions,
const ::Ice::Context & context = ::Ice::noExplicitContext )
inline

Remove a sequence of identities from this set of constraints.

No errors are returned if an entry is not found.

Parameters
deletionsThe sequence of Ice identities to be removed.
contextThe Context map to send with the invocation.

◆ removeAsync() [1/2]

::std::function< void()> Glacier2::IdentitySetPrx::removeAsync ( const ::Ice::IdentitySeq & deletions,
::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

Remove a sequence of identities from this set of constraints.

No errors are returned if an entry is not found.

Parameters
deletionsThe sequence of Ice identities to be removed.
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.

◆ removeAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto Glacier2::IdentitySetPrx::removeAsync ( const ::Ice::IdentitySeq & deletions,
const ::Ice::Context & context = ::Ice::noExplicitContext ) -> decltype(::std::declval< P< void > >().get_future())
inline

Remove a sequence of identities from this set of constraints.

No errors are returned if an entry is not found.

Parameters
deletionsThe sequence of Ice identities to be removed.
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: