8 #ifndef DATAGRAMSERVICE_H_
9 #define DATAGRAMSERVICE_H_
97 virtual
void send(const
char &type, const
char &flags, const
unsigned int &seqno, const std::
string &address, const
char *buf,
size_t length) throw (DatagramException) = 0;
105 virtual
void send(const
char &type, const
char &flags, const
unsigned int &seqno, const
char *buf,
size_t length) throw (DatagramException) = 0;
115 virtual
size_t recvfrom(
char *buf,
size_t length,
char &type,
char &flags,
unsigned int &seqno, std::
string &address) throw (DatagramException) = 0;
134 virtual const ibrcommon::vinterface&
getInterface() const = 0;
140 virtual dtn::core::Node::Protocol
getProtocol() const = 0;