Definition at line 59 of file device_i.h.
OSB_CORBA::DeviceWriter_i::DeviceWriter_i | ( | OSB_LIB::Device::Oid | dvcId, | |
Locators & | srvtLoc | |||
) |
Constructor with object id, access to POA and servant locator and the controlling servant.
virtual OSB_LIB::Device& OSB_CORBA::DeviceWriter_i::device | ( | ) | [protected, pure virtual] |
virtual bool OSB_CORBA::DeviceWriter_i::maintainList | ( | bool | isNew | ) | const [protected, pure virtual] |
Store the device in the appropriate device list.
isNew | Flag if the device was just created (true) or updated (false). |
bool UimCardWriter_i::maintainList( bool // not used: isNew ) const { return drmgr_.replaceUim(uim_); }
Implemented in OSB_CORBA::UimCardWriter_i.
void OSB_CORBA::DeviceWriter_i::setPool | ( | const corba::imgmt::PoolId & | poolId | ) | throw (OsbCorbaException) |
Set the inventory pool.
poolId | The new inventory pool of the device. |
OsbCorbaException | if changing to pool is not allowed: currently none. |
void OSB_CORBA::DeviceWriter_i::setStatus | ( | DeviceStatus | newStatus | ) | throw (OsbCorbaException) |
Set the device status.
newStatus | New status of the device. |
OsbCorbaException | if the current status is assigned. | |
OsbCorbaException | if newStatus is assigned or quarantine. |
void OSB_CORBA::DeviceWriter_i::updData | ( | bool | noWait | ) | throw (OsbCorbaException) |
Update the device data to the database.
noWait | Don't wait if locked by another session? |
OsbCorbaException | if the update of the device data to the dabase fails. |
void OSB_CORBA::DeviceWriter_i::updStatus | ( | bool | noWait | ) | throw (OsbCorbaException) |
Update the device status to the database.
noWait | Don't wait if locked by another session? |
OsbCorbaException | if the update of the device status to the dabase fails. |
const std::string OSB_CORBA::DeviceWriter_i::IFC [static] |
Name of the interface.
Reimplemented from OSB_CORBA::Device_i.
Reimplemented in OSB_CORBA::UimCardWriter_i.
Definition at line 65 of file device_i.h.