TAO
2.0.8
|
Interface for mprofile creation strategies. More...
#include <Acceptor_Filter.h>
Public Member Functions | |
virtual | ~TAO_Acceptor_Filter (void) |
virtual int | fill_profile (const TAO::ObjectKey &object_key, TAO_MProfile &mprofile, TAO_Acceptor **acceptors_begin, TAO_Acceptor **acceptors_end, CORBA::Short priority=TAO_INVALID_PRIORITY)=0 |
virtual int | encode_endpoints (TAO_MProfile &mprofile)=0 |
Interface for mprofile creation strategies.
Concrete Acceptor_Filter encapsulates a strategy for populating mprofile with profiles: it decides which endpoints are included into mprofile and which ones are not.
TAO_Acceptor_Filter::~TAO_Acceptor_Filter | ( | void | ) | [virtual] |
virtual int TAO_Acceptor_Filter::encode_endpoints | ( | TAO_MProfile & | mprofile | ) | [pure virtual] |
Encodes the endpoints in the profiles into the TAO_TAG_ENDPOINTS tag component of profiles.
virtual int TAO_Acceptor_Filter::fill_profile | ( | const TAO::ObjectKey & | object_key, |
TAO_MProfile & | mprofile, | ||
TAO_Acceptor ** | acceptors_begin, | ||
TAO_Acceptor ** | acceptors_end, | ||
CORBA::Short | priority = TAO_INVALID_PRIORITY |
||
) | [pure virtual] |
Populate mprofile with profiles. Profiles are created for selected acceptors (endpoints) from the array delimited by acceptors_begin and acceptors_end.