OpenJAUS Software Development Kit  4.3.1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
openjaus::core::services::TransportSettings Class Reference

Encapsulates the configuration settings needed by the Transport service. More...

#include <TransportSettings.h>

Inherits openjaus::core::services::TransportSettingsInterface.

Public Member Functions

virtual ~TransportSettings ()
 
virtual bool isSubsystemInterfaceEnabled ()
 
virtual std::vector< std::string > getSubsystemInterfaceNames ()
 
virtual bool isNodeInterfaceEnabled ()
 
virtual std::vector< std::string > getNodeInterfaceNames ()
 
bool isTcpEnabled ()
 
bool checkTransportPolicy ()
 
- Public Member Functions inherited from openjaus::core::services::TransportSettingsInterface
 TransportSettingsInterface ()
 
virtual ~TransportSettingsInterface ()
 

Static Public Member Functions

static TransportSettingsloadFromConfFile ()
 

Private Member Functions

 TransportSettings ()
 
std::vector< std::string > loadNetworkInterfaceNames ()
 
std::string getInterfaceNamesComment ()
 
void cacheNetworkInterfaceNames ()
 
std::vector< std::string > loadSubsystemInterfaces ()
 
std::vector< std::string > loadNodeInterfaces (std::vector< std::string > subsystemInterfaces)
 

Static Private Member Functions

static bool isLoopback (std::string interfaceName)
 

Private Attributes

bool subsystemInterfaceEnabled
 
std::vector< std::string > subsystemInterfaceNames
 
bool nodeInterfaceEnabled
 
std::vector< std::string > nodeInterfaceNames
 
bool tcpEnabled
 
bool checkTransportPolicyEnabled
 
bool interfaceNameCached
 
std::string interfaceNamesComment
 
std::vector< std::string > interfaceNames
 

Detailed Description

Constructor & Destructor Documentation

§ ~TransportSettings()

openjaus::core::services::TransportSettings::~TransportSettings ( )
virtual

§ TransportSettings()

openjaus::core::services::TransportSettings::TransportSettings ( )
private

Member Function Documentation

§ cacheNetworkInterfaceNames()

void openjaus::core::services::TransportSettings::cacheNetworkInterfaceNames ( )
private

§ checkTransportPolicy()

bool openjaus::core::services::TransportSettings::checkTransportPolicy ( )
virtual

§ getInterfaceNamesComment()

std::string openjaus::core::services::TransportSettings::getInterfaceNamesComment ( )
private

§ getNodeInterfaceNames()

std::vector< std::string > openjaus::core::services::TransportSettings::getNodeInterfaceNames ( )
virtual

§ getSubsystemInterfaceNames()

std::vector< std::string > openjaus::core::services::TransportSettings::getSubsystemInterfaceNames ( )
virtual

§ isLoopback()

bool openjaus::core::services::TransportSettings::isLoopback ( std::string  interfaceName)
staticprivate

§ isNodeInterfaceEnabled()

bool openjaus::core::services::TransportSettings::isNodeInterfaceEnabled ( )
virtual

§ isSubsystemInterfaceEnabled()

bool openjaus::core::services::TransportSettings::isSubsystemInterfaceEnabled ( )
virtual

§ isTcpEnabled()

bool openjaus::core::services::TransportSettings::isTcpEnabled ( )
virtual

§ loadFromConfFile()

TransportSettings * openjaus::core::services::TransportSettings::loadFromConfFile ( )
static

§ loadNetworkInterfaceNames()

std::vector< std::string > openjaus::core::services::TransportSettings::loadNetworkInterfaceNames ( )
private

§ loadNodeInterfaces()

std::vector< std::string > openjaus::core::services::TransportSettings::loadNodeInterfaces ( std::vector< std::string >  subsystemInterfaces)
private

§ loadSubsystemInterfaces()

std::vector< std::string > openjaus::core::services::TransportSettings::loadSubsystemInterfaces ( )
private

Member Data Documentation

§ checkTransportPolicyEnabled

bool openjaus::core::services::TransportSettings::checkTransportPolicyEnabled
private

§ interfaceNameCached

bool openjaus::core::services::TransportSettings::interfaceNameCached
private

§ interfaceNames

std::vector<std::string> openjaus::core::services::TransportSettings::interfaceNames
private

§ interfaceNamesComment

std::string openjaus::core::services::TransportSettings::interfaceNamesComment
private

§ nodeInterfaceEnabled

bool openjaus::core::services::TransportSettings::nodeInterfaceEnabled
private

§ nodeInterfaceNames

std::vector<std::string> openjaus::core::services::TransportSettings::nodeInterfaceNames
private

§ subsystemInterfaceEnabled

bool openjaus::core::services::TransportSettings::subsystemInterfaceEnabled
private

§ subsystemInterfaceNames

std::vector<std::string> openjaus::core::services::TransportSettings::subsystemInterfaceNames
private

§ tcpEnabled

bool openjaus::core::services::TransportSettings::tcpEnabled
private

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