OSB_CORBA::TariffCatalogue_i Class Reference

Inheritance diagram for OSB_CORBA::TariffCatalogue_i:

Inheritance graph
Collaboration diagram for OSB_CORBA::TariffCatalogue_i:

Collaboration graph
List of all members.

Detailed Description

Implementation of the CORBA interface TariffCatalogue.

The implementation uses the OSB_LIB::TariffCatalogue from the singleton class OSB_LIB::TcatMgr together with a OSB_LIB::TcatLockManager which is defined in the anonymous namespace of the implementation.

Any application using the tariff catalogue should call read() during the initialization phase.
A initialization class sets the lock manager for the tariff catalogue: there is no need to do this in the client of TariffCatalogue_i.

The current implementation is state-less. Therefore it is perfectly legal to define and use local variables of the class as shown in the example below.

      ConnectionPt* NetworkManager_i::getConnectionPt(
          const ConnectionPtId& cpId
      ) throw (CORBA::SystemException, OsbCorbaException)
          TariffCatalogue_i tcat;
          return tcat.getConnectionPt(cpId);

Definition at line 88 of file tariffcatalogue_i.h.

Public Member Functions

Support for service elements:
Support for connection points:
Support for tariff systems:

Static Public Attributes

Constructor & Destructor Documentation

OSB_CORBA::TariffCatalogue_i::TariffCatalogue_i (  ) 

Empty default constructor.

Member Function Documentation

virtual ConnectionPt* OSB_CORBA::TariffCatalogue_i::getConnectionPt ( const ConnectionPtId &  cpId  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Get a connection point.

cpId Unique id of a connnection point.
OsbCorbaException if the connection point for cpId does not exist in the catalogue.
Pointer to the connection point for cpId.

virtual ConnectionPtSeq* OSB_CORBA::TariffCatalogue_i::getConnectionPts (  )  throw (CORBA::SystemException) [virtual]

Get list of connection points in the catalogue.

virtual ServiceElement OSB_CORBA::TariffCatalogue_i::getServiceElement ( const ServiceElementId &  seId  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Get a service element.

seId Unique id of a service element.
OsbCorbaException if the service element for seId does not exist in the catalogue.
Pointer to the service element for seId.

virtual ServiceElementSeq* OSB_CORBA::TariffCatalogue_i::getServiceElements (  )  throw (CORBA::SystemException) [virtual]

Get list of tariff systems from the catalogue.

virtual TariffSystem* OSB_CORBA::TariffCatalogue_i::getTariffSystem ( const TariffSystemId &  tsId  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Get a tariff system.

tsId Unique id of a tariff system.
OsbCorbaException if the tariff system for tsId does not exist in the catalogue.
Pointer to the tariff system for tsId.

virtual TariffSystemSeq* OSB_CORBA::TariffCatalogue_i::getTariffSystems (  )  throw (CORBA::SystemException) [virtual]

Get list of tariff systems in the catalogue.

void OSB_CORBA::TariffCatalogue_i::read ( OSB_DB::Session session  ) 

Read the tariff catalogue from the database.

session Database session to use.
OsbCorbaException in case of a database error or if the (logical) construction of the tariff catalogue fails.

Member Data Documentation

const char* OSB_CORBA::TariffCatalogue_i::IFC [static]

Definition at line 92 of file tariffcatalogue_i.h.

The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:29:30 2006 for OSB Library by  doxygen 1.4.7