Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TRelTransMgr Class Reference

#include <RelTransMgr.h>

+ Collaboration diagram for TRelTransMgr:

Public Member Functions

 ~TRelTransMgr ()
bool doDuties ()
void dump ()
char * getCtrlAddr ()
int getCtrlIface ()
bool isDone ()
bool openSocket (SPtr< TRelCfgIface > confIface)
void relayMsg (SPtr< TRelMsg > msg)
void relayMsgRepl (SPtr< TRelMsg > msg)
void shutdown ()

Static Public Member Functions

static TRelTransMgrinstance ()
static void instanceCreate (const std::string &xmlFile)

Protected Member Functions

 TRelTransMgr (const std::string &xmlFile)
SPtr< TOptgetClientLinkLayerAddr (SPtr< TRelMsg > msg)
SPtr< TOptgetLinkAddrFromDuid (SPtr< TOpt > duid_opt)
SPtr< TOptgetLinkAddrFromSrcAddr (SPtr< TRelMsg > msg)

Static Protected Attributes

static TRelTransMgrInstance = 0

Private Attributes

char ctrlAddr [48]
int ctrlIface
bool IsDone
std::string XmlFile

Friends

std::ostream & operator<< (std::ostream &strum, TRelTransMgr &x)

Constructor & Destructor Documentation

TRelTransMgr::~TRelTransMgr ( )
TRelTransMgr::TRelTransMgr ( const std::string &  xmlFile)
protected

Member Function Documentation

bool TRelTransMgr::doDuties ( )
void TRelTransMgr::dump ( )
SPtr< TOpt > TRelTransMgr::getClientLinkLayerAddr ( SPtr< TRelMsg msg)
protected
char * TRelTransMgr::getCtrlAddr ( )
int TRelTransMgr::getCtrlIface ( )
SPtr< TOpt > TRelTransMgr::getLinkAddrFromDuid ( SPtr< TOpt duid_opt)
protected
SPtr< TOpt > TRelTransMgr::getLinkAddrFromSrcAddr ( SPtr< TRelMsg msg)
protected
TRelTransMgr & TRelTransMgr::instance ( )
static
void TRelTransMgr::instanceCreate ( const std::string &  xmlFile)
static
bool TRelTransMgr::isDone ( )
bool TRelTransMgr::openSocket ( SPtr< TRelCfgIface confIface)
void TRelTransMgr::relayMsg ( SPtr< TRelMsg msg)

relays normal (i.e. not server replies) messages to defined servers

void TRelTransMgr::relayMsgRepl ( SPtr< TRelMsg msg)
void TRelTransMgr::shutdown ( )

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  strum,
TRelTransMgr x 
)
friend

Member Data Documentation

char TRelTransMgr::ctrlAddr[48]
private
int TRelTransMgr::ctrlIface
private
TRelTransMgr * TRelTransMgr::Instance = 0
staticprotected
bool TRelTransMgr::IsDone
private
std::string TRelTransMgr::XmlFile
private

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