22 #ifndef NATIVESESSION_H_
23 #define NATIVESESSION_H_
85 static const std::string TAG;
119 const dtn::data::EID&
getNodeEID() const throw ();
136 void addEndpoint(const std::
string &suffix) throw (NativeSessionException);
141 void removeEndpoint(const std::
string &suffix) throw (NativeSessionException);
147 void addRegistration(const dtn::data::EID &eid) throw (NativeSessionException);
173 void load(
RegisterIndex ri, const dtn::data::BundleID &
id) throw (BundleNotFoundException);
198 void delivered(const dtn::data::BundleID &
id) const throw (BundleNotFoundException);
224 void write(
RegisterIndex ri, const
char *buf, const
size_t len, const
size_t offset = std::
string::npos) throw ();
235 void read(
RegisterIndex ri,
char *buf,
size_t &len, const
size_t offset = 0) throw ();
241 void receive() throw (NativeSessionException);
252 class BundleReceiver : public dtn::core::EventReceiver
256 virtual ~BundleReceiver();
286 NativeSessionCallback *_session_cb;
287 NativeSerializerCallback *_serializer_cb;