• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

daemon/src/net/DiscoveryServiceProvider.h

Go to the documentation of this file.
00001 /* 
00002  * File:   DiscoveryServiceProvider.h
00003  * Author: morgenro
00004  *
00005  * Created on 17. November 2009, 17:27
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  /* _DISCOVERYSERVICEPROVIDER_H */
00037 

Generated on Thu Nov 11 2010 09:49:47 for IBR-DTNSuite by  doxygen 1.7.1