Public Member Functions | Static Public Member Functions | Private Member Functions

ACSPorts Class Reference

#include <acsutilPorts.h>

List of all members.

Public Member Functions

 ACSPorts ()
virtual ~ACSPorts ()

Static Public Member Functions

static const unsigned long getBasePort ()
static std::string getManagerPort (int baseport)
static std::string getManagerPort ()
static std::string getNamingServicePort (int baseport)
static std::string getNamingServicePort ()
static std::string getNotifyServicePort (int baseport, const char *name=NULL)
static std::string getNotifyServicePort ()
static std::string getLoggingServicePort (int baseport)
static std::string getLoggingServicePort ()
static std::string getIRPort (int baseport)
static std::string getIRPort ()
static std::string getLogPort (int baseport)
static std::string getLogPort ()
static std::string getCDBPort (int baseport)
static std::string getCDBPort ()
static std::string getAlarmServicePort (int baseport)
static std::string getAlarmServicePort ()
static std::string getContainerDaemonPort ()
static std::string getServicesDaemonPort ()
static const char * getIP ()

Private Member Functions

 ACSPorts (const ACSPorts &)
void operator= (const ACSPorts &)

Detailed Description

ACSPorts is a utility class providing static methods to access the port numbers for various CORBA and ACS Services.


Constructor & Destructor Documentation

ACSPorts::ACSPorts (  )  [inline]

Constructor

virtual ACSPorts::~ACSPorts (  )  [inline, virtual]

Destructor

ACSPorts::ACSPorts ( const ACSPorts  )  [private]

Copy not allowed.


Member Function Documentation

static std::string ACSPorts::getAlarmServicePort ( int  baseport  )  [static]
Returns:
the port the ACS Alarm Service is running on.

static std::string ACSPorts::getAlarmServicePort (  )  [static]
static const unsigned long ACSPorts::getBasePort (  )  [static]
Returns:
the "ACS Base Port". This is just an integer ranging from 0-9.

static std::string ACSPorts::getCDBPort ( int  baseport  )  [static]
Returns:
the port the ACS CDB is running on.

static std::string ACSPorts::getCDBPort (  )  [static]
static std::string ACSPorts::getContainerDaemonPort (  )  [static]
Returns:
the port the ACS Container Daemon is running on.

static const char* ACSPorts::getIP (  )  [static]
Returns:
the stringified IP address of this host.

Referenced by acsDaemonImpl< T >::acsDaemonImpl(), TestContainerServices::getCDB(), and ACSServiceRequestDescription::getHost().

static std::string ACSPorts::getIRPort ( int  baseport  )  [static]
Returns:
the port the CORBA Interface Repository is running on.

static std::string ACSPorts::getIRPort (  )  [static]
static std::string ACSPorts::getLoggingServicePort (  )  [static]
static std::string ACSPorts::getLoggingServicePort ( int  baseport  )  [static]
Returns:
the port the CORBA Logging Service is running on.

static std::string ACSPorts::getLogPort (  )  [static]
static std::string ACSPorts::getLogPort ( int  baseport  )  [static]
Returns:
the port the ACS Logging Service is running on.

static std::string ACSPorts::getManagerPort ( int  baseport  )  [static]
Returns:
the port manager is running on.

static std::string ACSPorts::getManagerPort (  )  [static]
static std::string ACSPorts::getNamingServicePort ( int  baseport  )  [static]
Returns:
the port the CORBA Naming Service is running on.

static std::string ACSPorts::getNamingServicePort (  )  [static]
static std::string ACSPorts::getNotifyServicePort (  )  [static]
static std::string ACSPorts::getNotifyServicePort ( int  baseport,
const char *  name = NULL 
) [static]
Returns:
the port the CORBA Notification Service is running on.

static std::string ACSPorts::getServicesDaemonPort (  )  [static]
Returns:
the port the ACS Services Daemon is running on.

void ACSPorts::operator= ( const ACSPorts  )  [private]

Assignment not allowed.


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