IBR-DTNSuite
0.10
|
Functions | |
std::ostream & | operator<< (std::ostream &stream, const DiscoveryAnnouncement &announcement) |
std::istream & | operator>> (std::istream &stream, DiscoveryAnnouncement &announcement) |
std::ostream & | operator<< (std::ostream &stream, const DiscoveryService &service) |
std::istream & | operator>> (std::istream &stream, DiscoveryService &service) |
Variables | |
const int | TIMEOUT = 1000 |
const int | CONN_TIMEOUT = 5000 |
const int | HTTP_OK = 200 |
const int | HTTP_NO_DATA = 410 |
const int | CURL_CONN_OK = 0 |
const int | CURL_PARTIAL_FILE = 18 |
std::ostream& dtn::net::operator<< | ( | std::ostream & | stream, |
const DiscoveryService & | service | ||
) |
Definition at line 64 of file DiscoveryService.cpp.
References dtn::net::DiscoveryService::_service_name, and dtn::net::DiscoveryService::_service_parameters.
std::ostream& dtn::net::operator<< | ( | std::ostream & | stream, |
const DiscoveryAnnouncement & | announcement | ||
) |
Definition at line 103 of file DiscoveryAnnouncement.cpp.
References dtn::net::DiscoveryAnnouncement::DISCO_VERSION_00, dtn::net::DiscoveryAnnouncement::DISCO_VERSION_01, dtn::net::DiscoveryAnnouncement::DTND_IPDISCOVERY, dtn::data::SDNV< E >::getLength(), and dtn::data::EID::getString().
std::istream& dtn::net::operator>> | ( | std::istream & | stream, |
DiscoveryService & | service | ||
) |
Definition at line 74 of file DiscoveryService.cpp.
References dtn::net::DiscoveryService::_service_name, and dtn::net::DiscoveryService::_service_parameters.
std::istream& dtn::net::operator>> | ( | std::istream & | stream, |
DiscoveryAnnouncement & | announcement | ||
) |
Definition at line 228 of file DiscoveryAnnouncement.cpp.
References dtn::net::DiscoveryAnnouncement::DISCO_VERSION_00, dtn::net::DiscoveryAnnouncement::DISCO_VERSION_01, dtn::net::DiscoveryAnnouncement::DTND_IPDISCOVERY, dtn::data::SDNV< E >::get(), IBRCOMMON_LOGGER_DEBUG_TAG, and IBRCOMMON_LOGGER_ENDL.
const int dtn::net::CONN_TIMEOUT = 5000 |
Set timeout for waiting until connection retry
Definition at line 39 of file HTTPConvergenceLayer.cpp.
Referenced by dtn::net::HTTPConvergenceLayer::componentRun().
const int dtn::net::CURL_CONN_OK = 0 |
CURL CODE CONN OK
Definition at line 47 of file HTTPConvergenceLayer.cpp.
Referenced by dtn::net::HTTPConvergenceLayer::queue().
const int dtn::net::CURL_PARTIAL_FILE = 18 |
CURL CODE PARTIAL FILE
Definition at line 49 of file HTTPConvergenceLayer.cpp.
const int dtn::net::HTTP_NO_DATA = 410 |
HTTP CODE NO DATA ON SERVER
Definition at line 44 of file HTTPConvergenceLayer.cpp.
const int dtn::net::HTTP_OK = 200 |
HTTP CODE OK
Definition at line 42 of file HTTPConvergenceLayer.cpp.
Referenced by dtn::net::HTTPConvergenceLayer::queue().
const int dtn::net::TIMEOUT = 1000 |
Set timeout for waiting until next http request
Definition at line 37 of file HTTPConvergenceLayer.cpp.