opensaml-2.3
opensaml::saml2md::IndexedEndpointManager Class Reference

Template for processing indexed endpoint information. More...

#include <saml/saml2/metadata/EndpointManager.h>

Inheritance diagram for opensaml::saml2md::IndexedEndpointManager:
opensaml::saml2md::EndpointManager< _Tx >

List of all members.

Public Member Functions

 IndexedEndpointManager (const typename std::vector< _Tx * > &endpoints)
 Constructor.
const _Tx * getDefault () const
 Returns the default endpoint in the set.
const _Tx * getByIndex (unsigned short index) const
 Returns indexed endpoint.
const _Tx * getByBinding (const XMLCh *binding) const
 Returns endpoint that supports a particular binding.

Detailed Description

Template for processing indexed endpoint information.

Parameters:
_Txthe endpoint type being managed

Constructor & Destructor Documentation

opensaml::saml2md::IndexedEndpointManager::IndexedEndpointManager ( const typename std::vector< _Tx * > &  endpoints) [inline]

Constructor.

Parameters:
endpointsarray of endpoints to manage

Member Function Documentation

const _Tx* opensaml::saml2md::IndexedEndpointManager::getByBinding ( const XMLCh *  binding) const [inline]

Returns endpoint that supports a particular binding.

Parameters:
bindingbinding to locate
Returns:
a supporting endpoint, favoring the default, or NULL

Reimplemented from opensaml::saml2md::EndpointManager< _Tx >.

const _Tx* opensaml::saml2md::IndexedEndpointManager::getByIndex ( unsigned short  index) const [inline]

Returns indexed endpoint.

Parameters:
indexindex to locate
Returns:
matching endpoint, or NULL
const _Tx* opensaml::saml2md::IndexedEndpointManager::getDefault ( ) const [inline]

Returns the default endpoint in the set.

Returns:
the default endpoint

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