IBR-DTNSuite  0.8
daemon/src/net/ConvergenceLayer.cpp
Go to the documentation of this file.
00001 #include "net/ConvergenceLayer.h"
00002 #include "net/BundleReceiver.h"
00003 
00004 namespace dtn
00005 {
00006         namespace net
00007         {
00008                 ConvergenceLayer::Job::Job()
00009                 {
00010                 }
00011 
00012                 ConvergenceLayer::Job::Job(const dtn::data::EID &eid, const dtn::data::BundleID &b)
00013                  : _bundle(b), _destination(eid)
00014                 {
00015                 }
00016 
00017                 ConvergenceLayer::Job::~Job()
00018                 {
00019                 }
00020 
00021                 void ConvergenceLayer::Job::clear()
00022                 {
00023                         _bundle = dtn::data::BundleID();
00024                         _destination = dtn::data::EID();
00025                 }
00026         }
00027 }