corba::dvc::DeviceWriter Interface Reference

Inheritance diagram for corba::dvc::DeviceWriter:

Inheritance graph
[legend]
Collaboration diagram for corba::dvc::DeviceWriter:

Collaboration graph
[legend]
List of all members.

Detailed Description

CORBA interface to modify a device.

Definition at line 119 of file device.idl.

Public Member Functions


Member Function Documentation

void corba::dvc::DeviceWriter::setPool ( in imgmt::PoolId  poolId  )  raises (common::OsbCorbaException)

Set the inventory pool.

Parameters:
poolId The new inventory pool of the device.
Exceptions:
OsbCorbaException if changing to pool is not allowed: currently none.
Callers must use updData() to save the change.

void corba::dvc::DeviceWriter::setStatus ( in DeviceStatus  newStatus  )  raises (common::OsbCorbaException)

Set the device status.

Parameters:
newStatus New status of the device.
Exceptions:
OsbCorbaException if the current status is assigned.
OsbCorbaException if newStatus is assigned or quarantine.
Callers must use updStatus() to save the changed status.

void corba::dvc::DeviceWriter::updData ( in boolean  noWait  )  raises (common::OsbCorbaException)

Update the device data to the database.

Parameters:
noWait Don't wait if locked by another session?
Exceptions:
OsbCorbaException if the update of the device data to the dabase fails.
Note:
The function does not destroy the servant, callers should call destroy() once it is no more needed.

void corba::dvc::DeviceWriter::updStatus ( in boolean  noWait  )  raises (common::OsbCorbaException)

Update the device status to the database.

Parameters:
noWait Don't wait if locked by another session?
Exceptions:
OsbCorbaException if the update of the device status to the dabase fails.
Note:
The function does not destroy the servant, callers should call destroy() once it is no more needed.


The documentation for this interface was generated from the following file:
Generated on Sat Sep 2 14:24:33 2006 for OSB Library by  doxygen 1.4.7