IBR-DTNSuite  0.8
dtn::daemon::Configuration::NetConfig Class Reference

#include <Configuration.h>

Collaboration diagram for dtn::daemon::Configuration::NetConfig:

List of all members.

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

Detailed Description

Definition at line 31 of file Configuration.h.


Member Enumeration Documentation

Enumerator:
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.


Constructor & Destructor Documentation

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.

Definition at line 49 of file Configuration.cpp.


Member Data Documentation

Definition at line 53 of file Configuration.h.

Definition at line 55 of file Configuration.h.

Referenced by createConvergenceLayers().


The documentation for this class was generated from the following files: