Public Member Functions | Public Attributes

CDB::DAL Interface Reference

import "cdbDAL.idl";

Inheritance diagram for CDB::DAL:
Inheritance graph
[legend]

List of all members.

Public Member Functions

string get_DAO (in string curl) raises (cdbErrType::CDBRecordDoesNotExistEx,cdbErrType::CDBXMLErrorEx)
DAO get_DAO_Servant (in string curl) raises (cdbErrType::CDBRecordDoesNotExistEx, cdbErrType::CDBXMLErrorEx)
oneway void shutdown ()
long add_change_listener (in DALChangeListener listener)
void listen_for_changes (in string curl, in long listenerID)
void remove_change_listener (in long listenerID)
string list_nodes (in string name)
string list_daos (in string name)

Public Attributes

readonly attribute string configuration_name

Detailed Description

DAL Interface


Member Function Documentation

long CDB::DAL::add_change_listener ( in DALChangeListener  listener  ) 

Add a listener to the DAL

Parameters:
the listener to add
Returns:
ID of the listener added
string CDB::DAL::get_DAO ( in string  curl  )  raises (cdbErrType::CDBRecordDoesNotExistEx,cdbErrType::CDBXMLErrorEx)

Gives an xml string of a given curl

DAO CDB::DAL::get_DAO_Servant ( in string  curl  )  raises (cdbErrType::CDBRecordDoesNotExistEx, cdbErrType::CDBXMLErrorEx)

Gives a DAO node of a given curl

string CDB::DAL::list_daos ( in string  name  ) 

Give a list of nodes' (DAOs) names

Parameters:
curl to list
string list of nodes' names
string CDB::DAL::list_nodes ( in string  name  ) 

Give a list of the nodes' (non-DAOs) names

Parameters:
curl to list
Returns:
string list of the nodes' names
void CDB::DAL::listen_for_changes ( in string  curl,
in long  listenerID 
)

Said to that listener to listen that curl for changes

Parameters:
the curl listened
the id of the listener
void CDB::DAL::remove_change_listener ( in long  listenerID  ) 

Remove the listener

Parameters:
the id of the listener to remove
oneway void CDB::DAL::shutdown (  ) 

Member Data Documentation

readonly attribute string CDB::DAL::configuration_name

Name of used configuration, such as "XML" for the XML-based implementation.


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