OpenHIP 0.9svn1
Public Slots | Public Member Functions | Private Slots | Private Member Functions | Private Attributes
IfmapClient Class Reference

#include <ifmap_client.h>

List of all members.

Public Slots

void connectToMap (QMap< QString, QString > *mapConfig)
void setUnderlayIp (QString ip)

Public Member Functions

 IfmapClient (QObject *parent=0)
 ~IfmapClient ()

Private Slots

void newSession ()
void mapResponseOnARC (MapResponse *mapResponse)
void publishUnderlayIp ()

Private Member Functions

void updateEndboxMapping (SearchResult *searchResult)
QString interfaceAddr ()
bool purgePublisher ()
bool publishCurrentState ()
bool setupEndboxMapSubscriptions ()
bool searchCurrentConfig ()
void processPollResponse (MapResponse *mapResponse)

Private Attributes

Ifmap * _ifmap
bool _haveValidSession
QString _sessionId
QString _publisherId
QString _currentIp
QString _oldIp
bool _haveInitialConfig
QString _scadaNS
QString _matchLinks
QString _resultsFilter
int _maxDepth
int _retryDelay
QMap< QString, QString > _mapConfig

Constructor & Destructor Documentation

IfmapClient::IfmapClient ( QObject *  parent = 0)
IfmapClient::~IfmapClient ( )

References _ifmap.


Member Function Documentation

void IfmapClient::connectToMap ( QMap< QString, QString > *  mapConfig) [slot]
QString IfmapClient::interfaceAddr ( ) [private]

References _mapConfig.

void IfmapClient::mapResponseOnARC ( MapResponse *  mapResponse) [private, slot]
void IfmapClient::newSession ( ) [private, slot]
void IfmapClient::processPollResponse ( MapResponse *  mapResponse) [private]
bool IfmapClient::publishCurrentState ( ) [private]

References _currentIp, _ifmap, _mapConfig, _scadaNS, and pub.

Referenced by newSession().

void IfmapClient::publishUnderlayIp ( ) [private, slot]
bool IfmapClient::purgePublisher ( ) [private]

References _ifmap, and _publisherId.

Referenced by newSession().

bool IfmapClient::searchCurrentConfig ( ) [private]
void IfmapClient::setUnderlayIp ( QString  ip) [slot]
bool IfmapClient::setupEndboxMapSubscriptions ( ) [private]

References _ifmap, _mapConfig, _matchLinks, _maxDepth, and _resultsFilter.

Referenced by newSession().

void IfmapClient::updateEndboxMapping ( SearchResult *  searchResult) [private]

Member Data Documentation

QString IfmapClient::_currentIp [private]

Referenced by IfmapClient(), and updateEndboxMapping().

Referenced by newSession(), and setUnderlayIp().

Ifmap* IfmapClient::_ifmap [private]
QMap<QString,QString> IfmapClient::_mapConfig [private]
QString IfmapClient::_matchLinks [private]
int IfmapClient::_maxDepth [private]
QString IfmapClient::_oldIp [private]

Referenced by publishUnderlayIp(), and setUnderlayIp().

QString IfmapClient::_publisherId [private]

Referenced by newSession(), and purgePublisher().

QString IfmapClient::_resultsFilter [private]
int IfmapClient::_retryDelay [private]
QString IfmapClient::_scadaNS [private]
QString IfmapClient::_sessionId [private]

Referenced by newSession().


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