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

#include <Configuration.h>

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

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, NETWORK_EMAIL = 9
}
 

Public Member Functions

 NetConfig (const std::string &name, NetType type)
 
virtual ~NetConfig ()
 

Public Attributes

std::string name
 
NetType type
 
std::string url
 
ibrcommon::vinterface iface
 
int mtu
 
int port
 

Detailed Description

Definition at line 57 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 
NETWORK_EMAIL 

Definition at line 60 of file Configuration.h.

Constructor & Destructor Documentation

dtn::daemon::Configuration::NetConfig::NetConfig ( const std::string &  name,
NetType  type 
)

Definition at line 57 of file Configuration.cpp.

dtn::daemon::Configuration::NetConfig::~NetConfig ( )
virtual

Definition at line 62 of file Configuration.cpp.

Member Data Documentation

ibrcommon::vinterface dtn::daemon::Configuration::NetConfig::iface
int dtn::daemon::Configuration::NetConfig::mtu

Definition at line 81 of file Configuration.h.

Referenced by dtn::daemon::Configuration::Network::load().

std::string dtn::daemon::Configuration::NetConfig::name

Definition at line 77 of file Configuration.h.

int dtn::daemon::Configuration::NetConfig::port
NetType dtn::daemon::Configuration::NetConfig::type

Definition at line 78 of file Configuration.h.

std::string dtn::daemon::Configuration::NetConfig::url

Definition at line 79 of file Configuration.h.

Referenced by dtn::daemon::Configuration::Network::load().


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