opensaml-2.5.0
opensaml::saml2md::EndpointManager< _Tx > Class Template Reference

Template for processing unindexed endpoint information. More...

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

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

List of all members.

Public Member Functions

 EndpointManager (const typename std::vector< _Tx * > &endpoints)
 Constructor.
const _Tx * getByBinding (const XMLCh *binding) const
 Returns endpoint that supports a particular binding.

Protected Attributes

const std::vector< _Tx * > & m_endpoints
 Reference to endpoint array.

Detailed Description

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

Template for processing unindexed endpoint information.

Parameters:
_Txthe endpoint type being managed

Constructor & Destructor Documentation

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

Constructor.

Parameters:
endpointsarray of endpoints to manage

Member Function Documentation

template<class _Tx >
const _Tx* opensaml::saml2md::EndpointManager< _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

Reimplemented in opensaml::saml2md::IndexedEndpointManager< _Tx >.


Member Data Documentation

template<class _Tx >
const std::vector<_Tx*>& opensaml::saml2md::EndpointManager< _Tx >::m_endpoints [protected]

Reference to endpoint array.


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