#include <WildcardScheme.h>
Public Member Functions | |
virtual bool | validate (const URI &uri, bool is_pattern=false) |
Validate that the SSP in the given URI is legitimate for this scheme. | |
virtual bool | match (const EndpointIDPattern &pattern, const EndpointID &eid) |
Match the pattern to the endpoint id in a scheme-specific manner. | |
virtual singleton_info_t | is_singleton (const URI &uri) |
Check if the given URI is a singleton endpoint id. | |
Private Member Functions | |
WildcardScheme () | |
Friends | |
class | oasys::Singleton< WildcardScheme > |
Definition at line 26 of file WildcardScheme.h.
dtn::WildcardScheme::WildcardScheme | ( | ) | [inline, private] |
Definition at line 51 of file WildcardScheme.h.
Scheme::singleton_info_t dtn::WildcardScheme::is_singleton | ( | const URI & | uri | ) | [virtual] |
Check if the given URI is a singleton endpoint id.
Implements dtn::Scheme.
Definition at line 63 of file WildcardScheme.cc.
References dtn::EndpointID::MULTINODE.
bool dtn::WildcardScheme::match | ( | const EndpointIDPattern & | pattern, | |
const EndpointID & | eid | |||
) | [virtual] |
Match the pattern to the endpoint id in a scheme-specific manner.
Implements dtn::Scheme.
Definition at line 45 of file WildcardScheme.cc.
References ASSERT, and dtn::EndpointID::scheme().
Validate that the SSP in the given URI is legitimate for this scheme.
If the 'is_pattern' paraemeter is true, then the ssp is being validated as an EndpointIDPattern.
Implements dtn::Scheme.
Definition at line 32 of file WildcardScheme.cc.
friend class oasys::Singleton< WildcardScheme > [friend] |
Definition at line 50 of file WildcardScheme.h.