

This interface provides both read and write access to the trunk resource.
Definition at line 141 of file trunkresource_i.h.
| OSB_CORBA::TrunkResourceWriter_i::TrunkResourceWriter_i | ( | NetworkManager_i & | nmgri, | |
| const OSB_LIB::TrunkResource & | tr | |||
| ) |
Constructor.
| void OSB_CORBA::TrunkResourceWriter_i::addTrkGroup | ( | const TrunkGroupId & | id, | |
| const Date & | start, | |||
| CORBA::Boolean | noWait | |||
| ) | throw (OsbCorbaException) |
Add trunk group to the list of trunk resource.
Updates database as well. commitChanges() is not required after this function is called.
| id | Id of trunk group to be added. | |
| start | Start date of assignment period. | |
| noWait | Set to true if waiting is desired when lock is already acquired by others. If waiting is not desired, set flag to true. |
| OsbCorbaException |
|
| void OSB_CORBA::TrunkResourceWriter_i::delTrkGroup | ( | const TrunkGroupId & | id, | |
| CORBA::Boolean | noWait | |||
| ) | throw (OsbCorbaException) |
Delete trunk group from list of the trunk resouce.
Updates database as well. commitChanges() is not required after this function is called.
| id | Id of trunk group to be removed. | |
| noWait | Set to true if waiting is desired when lock is already acquired by others. If waiting is not desired, set flag to true. |
| OsbCorbaException |
|
| TrunkResource_i::TrList::Rg OSB_CORBA::TrunkResourceWriter_i::lockTr | ( | ) | const [protected, virtual] |
Overrides the lockTr() method of TrunkResource_i.
Reimplemented from OSB_CORBA::TrunkResource_i.
| OSB_LIB::Resource& OSB_CORBA::TrunkResourceWriter_i::resource | ( | ) | [protected, virtual] |
| void OSB_CORBA::TrunkResourceWriter_i::setDesc | ( | const Utf8String & | desc | ) | throw (CORBA::SystemException) |
Sets the description of trunk resource.
| void OSB_CORBA::TrunkResourceWriter_i::setExtNetwork | ( | const NetworkId & | id | ) | throw (CORBA::SystemException, SameNetwork, TrunksAssigned, StatusIsAssigned) |
Sets the external network of trunk resource.
| bool OSB_CORBA::TrunkResourceWriter_i::writeToList | ( | bool | isNew | ) | const [protected, virtual] |
Store the resource in the appropriate resource list.
| isNew | Flag if the resource was just created (true) or updated (false). |
bool E164ResourceWriter_i::writeToList( bool // not used: isNew ) const { return nmgri_.getE164List().replace(e164_); }
Implements OSB_CORBA::ResourceWriter_i.
const std::string OSB_CORBA::TrunkResourceWriter_i::IFC [static] |
String representation for TrunkResourceWriter_i.
Reimplemented from OSB_CORBA::ResourceWriter_i.
Definition at line 148 of file trunkresource_i.h.
1.4.7