This interface allows a single client to work with devices and resources.
Definition at line 84 of file dvcrsrcmgr_i.h.
typedef OSB_LIB::ReadGuard<OSB_LIB::UimCard*> OSB_CORBA::DvcRsrcMgr_i::UimCardRg |
OSB_CORBA::DvcRsrcMgr_i::DvcRsrcMgr_i | ( | NetworkManager_i & | nmgr | ) | [explicit] |
Constructor with controlling servant.
The constructor registers itself at the servant locator NetworkManager_i::drMgrLoc() and sets loctKey_.
OSB_CORBA::DvcRsrcMgr_i::~DvcRsrcMgr_i | ( | ) |
Destructor: unregister from servant locator.
OSB_CORBA::DvcRsrcMgr_i::DvcRsrcMgr_i | ( | const DvcRsrcMgr_i & | ) | [private] |
Prevent copying: not implemented.
void OSB_CORBA::DvcRsrcMgr_i::destroy | ( | ) | throw () |
Delete the servant.
UimCard* OSB_CORBA::DvcRsrcMgr_i::getUimCard | ( | const DeviceId & | uimId | ) | throw (OsbCorbaException) |
Get an UIM card.
uimId | The object id of the UIM card. |
OsbCorbaException | if the UIM is not found. |
DeviceIds* OSB_CORBA::DvcRsrcMgr_i::getUimCards | ( | ) | throw (OsbCorbaException) |
Get id's of selected UIM cards.
UimCardWriter* OSB_CORBA::DvcRsrcMgr_i::getUimCardWriter | ( | const DeviceId & | uimId | ) | throw (OsbCorbaException) |
Get a modifiable copy of an UIM card.
uimId | The object id of the UIM card. |
OsbCorbaException | if the UIM is not found. |
UimCardFilter* OSB_CORBA::DvcRsrcMgr_i::getUimFilter | ( | ) | throw () |
Get the filter for UIM cards.
void OSB_CORBA::DvcRsrcMgr_i::initUimFilter | ( | ) | [private] |
Initialize uimFilter_.
UimCardRg OSB_CORBA::DvcRsrcMgr_i::lockUim | ( | const OSB_LIB::Id< OSB_LIB::Device > & | uimId | ) | const |
Read lock an UIM card.
Locators::Key OSB_CORBA::DvcRsrcMgr_i::loctKey | ( | ) | const |
Get the servant locator key.
DvcRsrcMgr_i& OSB_CORBA::DvcRsrcMgr_i::operator= | ( | const DvcRsrcMgr_i & | ) | [private] |
Prevent assignment: not implemented.
void OSB_CORBA::DvcRsrcMgr_i::ping | ( | ) | throw () |
Servant is still active?
Obviously yes if this function is called.
void OSB_CORBA::DvcRsrcMgr_i::refreshUimCards | ( | ) | throw (OsbCorbaException) |
Refresh the currently selected UIM cards.
OsbCorbaException | in case of a severe error, but not if a card is no more found. |
void OSB_CORBA::DvcRsrcMgr_i::replaceUim | ( | const OSB_LIB::UimCard & | uim | ) |
Replace (or add) a UIM card in the list.
void OSB_CORBA::DvcRsrcMgr_i::searchUims | ( | const UimCardFilter & | filter | ) | throw (OsbCorbaException) |
Select (search) UIM cards.
filter | Filter to use, it is stored by calling setUimFilter() and can later be retrieved with getUimFilter(). |
OsbCorbaException | in case of a severe error. |
void OSB_CORBA::DvcRsrcMgr_i::setUimFilter | ( | const UimCardFilter & | filter | ) | throw () |
Set the filter for UIM cards.
const OSB_LIB::UimCardList& OSB_CORBA::DvcRsrcMgr_i::uims | ( | ) | const [private] |
Get list of UIM cards, allocate if needed.
OSB_LIB::UimCardList& OSB_CORBA::DvcRsrcMgr_i::uims | ( | ) | [private] |
Get list of UIM cards, allocate if needed.
const std::string OSB_CORBA::DvcRsrcMgr_i::IFC [static] |
OSB_LIB::RwMutex OSB_CORBA::DvcRsrcMgr_i::mutex_ [mutable, private] |
NetworkManager_i& OSB_CORBA::DvcRsrcMgr_i::nmgr_ [private] |
Controlling servant.
It provides access to the POA's and servant locators.
Definition at line 212 of file dvcrsrcmgr_i.h.
OSB_LIB::UimCardList* OSB_CORBA::DvcRsrcMgr_i::uimCards_ [mutable, private] |
UimCardFilter OSB_CORBA::DvcRsrcMgr_i::uimFilter_ [private] |