|
Ice 3.7 C++98 API Reference
|
The ReplicaGroupFilter is used by IceGrid to filter adapters returned to the client when it resolves a filtered replica group. More...
#include <IceGrid/IceGrid.h>


Public Types | |
| typedef ReplicaGroupFilterPtr | PointerType |
Public Member Functions | |
| virtual::Ice::StringSeq | filter (const ::std::string &replicaGroupId, const ::Ice::StringSeq &adapterIds, const ::Ice::ConnectionPtr &con, const ::Ice::Context &ctx)=0 |
| Filter the given set of adapters. | |
| virtual Ice::StringSeq | filter (const string &replicaGroupId, const Ice::StringSeq &adapterIds, const Ice::ConnectionPtr &connection, const Ice::Context &context)=0 |
| Called by the registry to filter a collection of adapters. | |
| virtual | ~ReplicaGroupFilter () |
| Public Member Functions inherited from Ice::LocalObject | |
| virtual bool | operator< (const LocalObject &) const |
| virtual bool | operator== (const LocalObject &) const |
| Public Member Functions inherited from IceUtil::Shared | |
| void | __clearFlag (unsigned char flag) |
| virtual void | __decRef () |
| virtual int | __getRef () const |
| bool | __hasFlag (unsigned char flag) |
| virtual void | __incRef () |
| void | __setFlag (unsigned char flag) |
| virtual void | __setNoDelete (bool) |
| Shared & | operator= (const Shared &) |
| Shared () | |
| Shared (const Shared &) | |
| virtual | ~Shared () |
Additional Inherited Members | |
| Static Public Attributes inherited from IceUtil::Shared | |
| static const unsigned char | NoDelete |
| Protected Attributes inherited from IceUtil::Shared | |
| unsigned char | _flags |
| IceUtilInternal::Atomic | _ref |
The ReplicaGroupFilter is used by IceGrid to filter adapters returned to the client when it resolves a filtered replica group.
Abstract base class for a replica group filter.
IceGrid provides the list of available adapters. The implementation of this method can use the provided context and connection to filter and return the filtered set of adapters.
|
virtual |
|
pure virtual |
Filter the given set of adapters.
| replicaGroupId | The replica group ID. |
| adapterIds | The adpater IDs to filter. |
| con | The connection from the Ice client which is resolving the replica group endpoints. |
| ctx | The context from the Ice client which is resolving the replica group endpoints. |
|
pure virtual |
Called by the registry to filter a collection of adapters.
The implementation must not block.
| replicaGroupId | The replica group identifier involved in this request. |
| adapterIds | A sequence of object adapter identifiers denoting the object adapters participating in the replica group whose nodes are active at the time of the request. |
| connection | The incoming connection from the client to the registry. |
| context | The incoming connection from the client to the registry. |