This interface provides both read and write access to the IP group.
Definition at line 147 of file ipgroup_i.h.
OSB_CORBA::IpGroupWriter_i::IpGroupWriter_i | ( | NetworkManager_i & | nmgri, | |
const OSB_LIB::IpGroup & | ipg | |||
) |
Constructor.
virtual void OSB_CORBA::IpGroupWriter_i::addIp4 | ( | const ResourceId & | id, | |
corba::res::Direction | dir, | |||
const Date & | start, | |||
CORBA::Boolean | noWait | |||
) | throw (OsbCorbaException) [virtual] |
Add IP4 address to the list of IP group.
Updates database as well. commitChanges() is not required after this function is called.
id | Id of IP4 address to be added. | |
start | Start date of assignment period. | |
dir | Direction of the assignment to add. | |
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 |
|
virtual void OSB_CORBA::IpGroupWriter_i::delIp4 | ( | const ResourceId & | id, | |
corba::res::Direction | dir, | |||
CORBA::Boolean | noWait | |||
) | throw (OsbCorbaException) [virtual] |
Delete IP4 address from list of the IP group.
Updates database as well. commitChanges() is not required after this function is called.
id | Id of IP4 address to be removed. | |
dir | Direction of the assignment to remove. | |
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 |
|
IpGroup_i::IpgList::Rg OSB_CORBA::IpGroupWriter_i::lockIpg | ( | ) | const [private, virtual] |
Overrides the lockIpg() method of IpGroup_i.
Reimplemented from OSB_CORBA::IpGroup_i.
OSB_LIB::Resource& OSB_CORBA::IpGroupWriter_i::resource | ( | ) | [private, virtual] |
virtual void OSB_CORBA::IpGroupWriter_i::setDesc | ( | const Utf8String & | desc | ) | throw (CORBA::SystemException) [virtual] |
Sets the description of IP group.
bool OSB_CORBA::IpGroupWriter_i::writeToList | ( | bool | isNew | ) | const [private, 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::IpGroupWriter_i::IFC [static] |
String representation for IpGroupWriter_i.
Reimplemented from OSB_CORBA::IpGroup_i.
Definition at line 154 of file ipgroup_i.h.