opensaml-2.4.3
opensaml::saml2md::IndexedEndpointManager< _Tx > Class Template Reference

Template for processing indexed endpoint information. More...

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

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

Public Member Functions

 IndexedEndpointManager (const typename std::vector< _Tx * > &endpoints)
 Constructor. More...
 
const _Tx * getDefault () const
 Returns the default endpoint in the set. More...
 
const _Tx * getByIndex (unsigned short index) const
 Returns indexed endpoint. More...
 
const _Tx * getByBinding (const XMLCh *binding) const
 Returns endpoint that supports a particular binding. More...
 
- Public Member Functions inherited from opensaml::saml2md::EndpointManager< _Tx >
 EndpointManager (const typename std::vector< _Tx * > &endpoints)
 Constructor. More...
 
const _Tx * getByBinding (const XMLCh *binding) const
 Returns endpoint that supports a particular binding. More...
 

Additional Inherited Members

- Protected Attributes inherited from opensaml::saml2md::EndpointManager< _Tx >
const std::vector< _Tx * > & m_endpoints
 Reference to endpoint array. More...
 

Detailed Description

template<class _Tx>
class opensaml::saml2md::IndexedEndpointManager< _Tx >

Template for processing indexed endpoint information.

Parameters
_Txthe endpoint type being managed

Constructor & Destructor Documentation

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

Constructor.

Parameters
endpointsarray of endpoints to manage

Member Function Documentation

template<class _Tx >
const _Tx* opensaml::saml2md::IndexedEndpointManager< _Tx >::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 nullptr
template<class _Tx >
const _Tx* opensaml::saml2md::IndexedEndpointManager< _Tx >::getByIndex ( unsigned short  index) const
inline

Returns indexed endpoint.

Parameters
indexindex to locate
Returns
matching endpoint, or nullptr
template<class _Tx >
const _Tx* opensaml::saml2md::IndexedEndpointManager< _Tx >::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: