IBR-DTNSuite
0.8
|
#include <Configuration.h>
Public Types | |
enum | NetType { NETWORK_UNKNOWN = 0, NETWORK_TCP = 1, NETWORK_UDP = 2, NETWORK_HTTP = 3, NETWORK_LOWPAN = 4, NETWORK_FILE = 5, NETWORK_DGRAM_UDP = 6, NETWORK_DGRAM_LOWPAN = 7, NETWORK_DGRAM_ETHERNET = 8 } |
Public Member Functions | |
NetConfig (std::string name, NetType type, const std::string &url, bool discovery=true) | |
NetConfig (std::string name, NetType type, const ibrcommon::vaddress &address, int port, bool discovery=true) | |
NetConfig (std::string name, NetType type, const ibrcommon::vinterface &iface, int port, bool discovery=true) | |
NetConfig (std::string name, NetType type, int port, bool discovery=true) | |
virtual | ~NetConfig () |
Public Attributes | |
std::string | name |
NetType | type |
std::string | url |
ibrcommon::vinterface | interface |
ibrcommon::vaddress | address |
int | mtu |
int | port |
bool | discovery |
Definition at line 31 of file Configuration.h.
NETWORK_UNKNOWN | |
NETWORK_TCP | |
NETWORK_UDP | |
NETWORK_HTTP | |
NETWORK_LOWPAN | |
NETWORK_FILE | |
NETWORK_DGRAM_UDP | |
NETWORK_DGRAM_LOWPAN | |
NETWORK_DGRAM_ETHERNET |
Definition at line 34 of file Configuration.h.
dtn::daemon::Configuration::NetConfig::NetConfig | ( | std::string | name, |
NetType | type, | ||
const std::string & | url, | ||
bool | discovery = true |
||
) |
Definition at line 29 of file Configuration.cpp.
dtn::daemon::Configuration::NetConfig::NetConfig | ( | std::string | name, |
NetType | type, | ||
const ibrcommon::vaddress & | address, | ||
int | port, | ||
bool | discovery = true |
||
) |
Definition at line 39 of file Configuration.cpp.
dtn::daemon::Configuration::NetConfig::NetConfig | ( | std::string | name, |
NetType | type, | ||
const ibrcommon::vinterface & | iface, | ||
int | port, | ||
bool | discovery = true |
||
) |
Definition at line 34 of file Configuration.cpp.
dtn::daemon::Configuration::NetConfig::NetConfig | ( | std::string | name, |
NetType | type, | ||
int | port, | ||
bool | discovery = true |
||
) |
Definition at line 44 of file Configuration.cpp.
dtn::daemon::Configuration::NetConfig::~NetConfig | ( | ) | [virtual] |
Definition at line 49 of file Configuration.cpp.
Definition at line 57 of file Configuration.h.
Definition at line 60 of file Configuration.h.
Definition at line 56 of file Configuration.h.
Referenced by __daemon_run(), and createConvergenceLayers().
Definition at line 58 of file Configuration.h.
Referenced by createConvergenceLayers(), and dtn::daemon::Configuration::Network::load().
std::string dtn::daemon::Configuration::NetConfig::name |
Definition at line 53 of file Configuration.h.
Definition at line 59 of file Configuration.h.
Referenced by __daemon_run(), and createConvergenceLayers().
Definition at line 54 of file Configuration.h.
Referenced by createConvergenceLayers().
std::string dtn::daemon::Configuration::NetConfig::url |
Definition at line 55 of file Configuration.h.
Referenced by createConvergenceLayers().