TAO  2.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
TAO_Acceptor_Filter Class Referenceabstract

Interface for mprofile creation strategies. More...

#include <Acceptor_Filter.h>

Collaboration diagram for TAO_Acceptor_Filter:
Collaboration graph

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

Detailed Description

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.

Constructor & Destructor Documentation

TAO_Acceptor_Filter::~TAO_Acceptor_Filter ( void  )

Member Function Documentation

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,
pure virtual

Populate mprofile with profiles. Profiles are created for selected acceptors (endpoints) from the array delimited by acceptors_begin and acceptors_end.

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