corba::res::TrunkResourceWriter Interface Reference

Inheritance diagram for corba::res::TrunkResourceWriter:

Inheritance graph
[legend]
Collaboration diagram for corba::res::TrunkResourceWriter:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition of the trunk resource writer interface.

This interface offers functionality fo modifying the attributes of a trunk resource. This interface has its own copy of trunk resource, upon committing the changes, the local copy is updated.

Definition at line 164 of file trunkresource.idl.

Public Member Functions


Member Function Documentation

void corba::res::TrunkResourceWriter::addTrkGroup ( in nwmgr::trk::TrunkGroupId  id,
in common::Date  start,
in boolean  noWait 
) raises (common::OsbCorbaException)

Add trunk group to the list of trunk resource.

Updates database as well. updData() is not required after this function is called.

Parameters:
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.
Exceptions:
OsbCorbaException 
  • add trunk group fails.

void corba::res::TrunkResourceWriter::delTrkGroup ( in nwmgr::trk::TrunkGroupId  id,
in boolean  noWait 
) raises (common::OsbCorbaException)

Delete trunk group from list of the trunk resouce.

Updates database as well. updData() is not required after this function is called.

Parameters:
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.
Exceptions:
OsbCorbaException 
  • remove trunk group fails.

void corba::res::TrunkResourceWriter::setDesc ( in common::Utf8String  desc  ) 

Sets the description of the trunk resource.

void corba::res::TrunkResourceWriter::setExtNetwork ( in nwmgr::nw::NetworkId  id  )  raises (SameNetwork, TrunksAssigned, StatusIsAssigned)

Sets external network of the trunk resource.

Parameters:
id The external network id.
Exceptions:
SameNetwork 
TrunksAssigned 
StatusIsAssigned 


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