Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef _DISCOVERYSERVICEPROVIDER_H
00009 #define _DISCOVERYSERVICEPROVIDER_H
00010
00011 #include <ibrcommon/net/NetInterface.h>
00012 #include <string>
00013
00014 namespace dtn
00015 {
00016 namespace net
00017 {
00018 class DiscoveryServiceProvider
00019 {
00020 public:
00026 virtual void update(std::string &name, std::string &data) = 0;
00027
00028 virtual bool onInterface(const ibrcommon::NetInterface&) const
00029 {
00030 return true;
00031 }
00032 };
00033 }
00034 }
00035
00036 #endif
00037