IBR-DTNSuite  0.10
P2PDialupExtension.cpp
Go to the documentation of this file.
1 /*
2  * P2PDialupExtension.cpp
3  *
4  * Created on: 25.02.2013
5  * Author: morgenro
6  */
7 
9 #include "net/P2PDialupEvent.h"
10 #include "core/BundleCore.h"
11 #include "core/NodeEvent.h"
12 
13 namespace dtn
14 {
15  namespace net
16  {
17 
19  // register at the bundle core
21  }
22 
24  // unregister at the bundle core
26  }
27 
29  {
31  dtn::core::Node n(eid);
32  n.add(uri);
33  cm.add(n);
34  }
35 
37  {
39  dtn::core::Node n(eid);
40  n.add(uri);
41  cm.remove(n);
42  }
43 
45  {
47  dtn::core::Node n(eid);
48  n.add(uri);
49  cm.add(n);
50  }
51 
53  {
55  }
56 
58  {
60  }
61  } /* namespace routing */
62 } /* namespace dtn */