00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef _DTN_SCHEME_H_
00018 #define _DTN_SCHEME_H_
00019
00020 #include "Scheme.h"
00021 #include <oasys/util/Singleton.h>
00022
00023 namespace dtn {
00024
00044 class DTNScheme : public Scheme, public oasys::Singleton<DTNScheme> {
00045 public:
00053 virtual bool validate(const std::string& ssp, bool is_pattern = false);
00054
00059 virtual bool match(const EndpointIDPattern& pattern,
00060 const EndpointID& eid);
00061
00069 virtual bool append_service_tag(std::string* ssp, const char* tag);
00070
00071 private:
00072 friend class oasys::Singleton<DTNScheme>;
00073 DTNScheme() {}
00074 };
00075
00076 }
00077
00078 #endif