47 #include <ibrcommon/thread/RWMutex.h>
48 #include <ibrcommon/link/LinkManager.h>
55 using namespace dtn::data;
64 P2PDialupException(
string what =
"No path known except of dial-up connections.") throw() : Exception(what)
76 static const std::string
TAG;
126 bool isGloballyConnected()
const;
135 virtual
void validate(const dtn::data::
PrimaryBlock &bundle, const dtn::data::
Block &obj, const dtn::data::
Number&) const throw (RejectedException);
136 virtual
void validate(const dtn::data::
Bundle &obj) const throw (RejectedException);
137 virtual
void validate(const dtn::data::
MetaBundle &obj) const throw (RejectedException);
159 static dtn::data::
Length foreign_blocksizelimit;
169 static dtn::data::
Length max_timestamp_future;
174 static
bool forwarding;
179 static dtn::data::
Size max_bundles_in_transit;
184 virtual const std::
string getName() const;
186 static
void processBlocks(dtn::data::
Bundle &b);
188 void setGloballyConnected(
bool val);
190 void eventNotify(const ibrcommon::LinkEvent &evt);
195 static
void inject(const dtn::data::
EID &source, dtn::data::
Bundle &bundle);
198 virtual
void componentUp() throw ();
199 virtual
void componentDown() throw ();
210 virtual ~BundleCore();
215 void check_connection_state() throw ();
220 void reload_filter_tables() throw ();
225 BundleCore operator=(const BundleCore &k)
250 bool _globally_connected;
257 mutable ibrcommon::RWMutex _filter_mutex;
static dtn::data::EID local
P2PDialupException(string what="No path known except of dial-up connections.")