OSB_CORBA::NetworkManager_i Class Reference

Inheritance diagram for OSB_CORBA::NetworkManager_i:

Inheritance graph
[legend]
Collaboration diagram for OSB_CORBA::NetworkManager_i:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 85 of file networkmanager_i.h.

Public Types

Public Member Functions

Static Public Attributes

Private Types

Private Member Functions

Private Attributes


Member Typedef Documentation

typedef OSB_LIB::ResourceLists::AnList OSB_CORBA::NetworkManager_i::AnList

Shorthand for access number list.

Definition at line 216 of file networkmanager_i.h.

typedef OSB_LIB::ResourceLists::E164List OSB_CORBA::NetworkManager_i::E164List

Shorthand for E.164 resource list list.

Definition at line 249 of file networkmanager_i.h.

typedef std::list<OSB_LIB::InventoryPool> OSB_CORBA::NetworkManager_i::InvPools [private]

Short-hand for a list of inventory pools.

Definition at line 436 of file networkmanager_i.h.

typedef OSB_LIB::ResourceLists::Ip4List OSB_CORBA::NetworkManager_i::Ip4List

Shorthand for IP4 address list.

Definition at line 324 of file networkmanager_i.h.

typedef OSB_LIB::ResourceLists::IpGroupList OSB_CORBA::NetworkManager_i::IpgList

Shorthand for IP group list.

Definition at line 357 of file networkmanager_i.h.

typedef OSB_LIB::ResourceLists::TrList OSB_CORBA::NetworkManager_i::TrList

Shorthand for trunk resource list.

Definition at line 183 of file networkmanager_i.h.


Constructor & Destructor Documentation

OSB_CORBA::NetworkManager_i::NetworkManager_i ( const ServerInfo &  info,
PortableServer::POA_ptr  rootPoa,
PortableServer::POAManager_ptr  poaManager 
) throw (OsbCorbaException)

virtual OSB_CORBA::NetworkManager_i::~NetworkManager_i (  )  [virtual]

OSB_CORBA::NetworkManager_i::NetworkManager_i ( const NetworkManager_i  )  [private]

Prevent copying: not implemented.


Member Function Documentation

E164ResourceSeq* OSB_CORBA::NetworkManager_i::createE164s ( const NetworkElementId &  neId,
const Utf8String &  ccNdc,
const Utf8String &  first,
int  qnty 
) throw (CORBA::SystemException, OsbCorbaException)

Create E.164 resources.

Parameters:
neId The network or element of the resources, both ids may not be set.
ccNdc CC (country code) and NDC (national destination code), it may be empty.
first The first subscriber number to create.
qnty Number of E.164 resources to create.
Returns:
The list with created E.164 resources.

void OSB_CORBA::NetworkManager_i::createMgrPoas ( PortableServer::POA_ptr  rootPoa,
PortableServer::POAManager_ptr  poaManager 
) [private]

Create POA for both NetworkElementMgr and TrunkGroupMgr servants, and activate them.

void OSB_CORBA::NetworkManager_i::createPoas ( PortableServer::POA_ptr  rootPoa,
PortableServer::POAManager_ptr  poaManager 
) [private]

E164ResourceSeq* OSB_CORBA::NetworkManager_i::creE164Servants ( const E164List src,
const std::string &  module 
) [private]

Create servants for a list of E.164 resources.

virtual Network_ptr OSB_CORBA::NetworkManager_i::creNetwork ( const Utf8String &  name,
const Utf8String &  desc,
const TimeZoneId &  tzId,
CORBA::Boolean  noWait 
) throw (CORBA::SystemException, OsbCorbaException) [virtual]

Create a new network.

virtual AccessNumberWriter_ptr OSB_CORBA::NetworkManager_i::creNewAn ( const Utf8String &  rn,
const NetworkId &  nwId 
) throw (CORBA::SystemException) [virtual]

Create a access number.

virtual Ip4AddressWriter_ptr OSB_CORBA::NetworkManager_i::creNewIp4 ( const Utf8String &  rn,
const NetworkId &  nwId 
) throw (CORBA::SystemException) [virtual]

Create an IP4 address.

virtual IpGroupWriter_ptr OSB_CORBA::NetworkManager_i::creNewIpg ( const Utf8String &  rn,
const NetworkId &  nwId 
) throw (CORBA::SystemException) [virtual]

Create an IP group.

virtual TrunkResourceWriter_ptr OSB_CORBA::NetworkManager_i::creNewTr ( const Utf8String &  rn,
const NetworkId &  nwId 
) throw (CORBA::SystemException) [virtual]

Create a trunk resource.

virtual void OSB_CORBA::NetworkManager_i::delAn ( const ResourceId &  id,
CORBA::Boolean  noWait 
) throw (CORBA::SystemException, OsbCorbaException) [virtual]

Delete a access number.

virtual void OSB_CORBA::NetworkManager_i::delE164 ( const ResourceId &  id,
CORBA::Boolean  noWait 
) throw (CORBA::SystemException, OsbCorbaException) [virtual]

Delete an E.164 resource.

virtual void OSB_CORBA::NetworkManager_i::delIp4 ( const ResourceId &  id,
CORBA::Boolean  noWait 
) throw (CORBA::SystemException, OsbCorbaException) [virtual]

Delete an IP4 address.

virtual void OSB_CORBA::NetworkManager_i::delIpg ( const ResourceId &  id,
CORBA::Boolean  noWait 
) throw (CORBA::SystemException, OsbCorbaException) [virtual]

Delete an IP group.

virtual void OSB_CORBA::NetworkManager_i::delNetwork ( const NetworkId &  id,
CORBA::Boolean  noWait 
) throw (CORBA::SystemException, OsbCorbaException) [virtual]

Delete a network.

virtual void OSB_CORBA::NetworkManager_i::delTr ( const ResourceId &  id,
CORBA::Boolean  noWait 
) throw (CORBA::SystemException, OsbCorbaException) [virtual]

Delete a trunk resource.

Locators& OSB_CORBA::NetworkManager_i::drMgrLoc (  ) 

Get locator for D&R managers.

Locators& OSB_CORBA::NetworkManager_i::dvcLoc (  ) 

Get locator for Device.

PortableServer::POA_ptr OSB_CORBA::NetworkManager_i::dvcPoa (  ) 

Get POA for devices.

virtual AccessNumber_ptr OSB_CORBA::NetworkManager_i::getAn ( const ResourceId &  id  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Get a access number by the resource id.

AnList& OSB_CORBA::NetworkManager_i::getAnList (  ) 

Return the access number list reference.

virtual AccessNumberSeq* OSB_CORBA::NetworkManager_i::getAns (  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Get list of access numbers.

virtual AccessNumberSeq* OSB_CORBA::NetworkManager_i::getAnsOfNetwork ( const NetworkId &  id  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Gets all access numbers belongs to a network.

virtual ConnectionPt* OSB_CORBA::NetworkManager_i::getConnectionPt ( const ConnectionPtId &  cpId  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

virtual ConnectionPtSeq* OSB_CORBA::NetworkManager_i::getConnectionPts (  )  throw (CORBA::SystemException) [virtual]

E164Resource_ptr OSB_CORBA::NetworkManager_i::getE164 ( const ResourceId &  id  )  throw (CORBA::SystemException, OsbCorbaException)

Get an E.164 resource by its resource id.

E164List& OSB_CORBA::NetworkManager_i::getE164List (  ) 

Return the whole list of E.164 resources.

virtual Ip4Address_ptr OSB_CORBA::NetworkManager_i::getIp4 ( const ResourceId &  id  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Get an IP4 address by the resource id.

Ip4List& OSB_CORBA::NetworkManager_i::getIp4List (  ) 

Return the IP4 address list reference.

virtual Ip4AddressSeq* OSB_CORBA::NetworkManager_i::getIp4s (  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Get list of IP4 addresses.

virtual Ip4AddressSeq* OSB_CORBA::NetworkManager_i::getIp4sOfNetwork ( const NetworkId &  id  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Gets all IP4 addresses belongs to a network.

virtual IpGroup_ptr OSB_CORBA::NetworkManager_i::getIpg ( const ResourceId &  id  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Get an IP group by the resource id.

IpgList& OSB_CORBA::NetworkManager_i::getIpgList (  ) 

Return the IP group list reference.

virtual IpGroupSeq* OSB_CORBA::NetworkManager_i::getIpgs (  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Get list of IP groups.

virtual IpGroupSeq* OSB_CORBA::NetworkManager_i::getIpgsOfNetwork ( const NetworkId &  id  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Gets all IP groups belongs to a network.

virtual Network_ptr OSB_CORBA::NetworkManager_i::getNetwork ( const NetworkId &  id  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Get a network.

virtual NetworkElementMgr_ptr OSB_CORBA::NetworkManager_i::getNetworkElementMgr (  )  throw (CORBA::SystemException) [virtual]

Get network element manager interface.

virtual NetworkSeq* OSB_CORBA::NetworkManager_i::getNetworks (  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Get list of networks.

virtual ServerInfo* OSB_CORBA::NetworkManager_i::getServerInfo (  )  throw (CORBA::SystemException) [virtual]

Get CORBA server information.

virtual TimeZone* OSB_CORBA::NetworkManager_i::getTimeZone ( const TimeZoneId &  id  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

virtual TimeZoneSeq* OSB_CORBA::NetworkManager_i::getTimeZones (  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

virtual TrunkResource_ptr OSB_CORBA::NetworkManager_i::getTr ( const ResourceId &  id  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Get a trunk resource by the resource id.

TrList& OSB_CORBA::NetworkManager_i::getTrList (  ) 

Return the trunk resource list reference.

virtual TrunkResourceSeq* OSB_CORBA::NetworkManager_i::getTrs (  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Get list of trunk resources.

virtual TrunkResourceSeq* OSB_CORBA::NetworkManager_i::getTrsOfNetwork ( const NetworkId &  id  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Gets all trunk resources belongs to a network.

virtual TrunkGroupMgr_ptr OSB_CORBA::NetworkManager_i::getTrunkGroupMgr (  )  throw (CORBA::SystemException) [virtual]

Get trunk group manager interface.

corba::imgmt::Pools* OSB_CORBA::NetworkManager_i::inventoryPools ( CORBA::Boolean  force  )  throw (CORBA::SystemException, OsbCorbaException)

Get list of inventory pools.

Parameters:
force Flag to force reading of the inventory pools from the database.
Exceptions:
OsbCorbaException if reading of the pools fails.

corba::imgmt::DvcRsrcMgr* OSB_CORBA::NetworkManager_i::mkDvcRsrcMgr (  )  throw (CORBA::SystemException)

Locators& OSB_CORBA::NetworkManager_i::networkLoc (  ) 

Return network servant locator.

PortableServer::POA_ptr OSB_CORBA::NetworkManager_i::networkPoa (  ) 

Return network poa.

Locators& OSB_CORBA::NetworkManager_i::numAnalyzerLoc (  ) 

Return number analyzer servant locator.

PortableServer::POA_ptr OSB_CORBA::NetworkManager_i::numAnalyzerPoa (  ) 

Return number analyzer poa.

Locators& OSB_CORBA::NetworkManager_i::nwElementLoc (  ) 

Return network element servant locator.

PortableServer::POA_ptr OSB_CORBA::NetworkManager_i::nwElementPoa (  ) 

Return network element poa.

PortableServer::POA_ptr OSB_CORBA::NetworkManager_i::nweMgrPoa (  ) 

Return network element manager poa.

NetworkManager_i& OSB_CORBA::NetworkManager_i::operator= ( const NetworkManager_i  )  [private]

Prevent assignment: not implemented.

void OSB_CORBA::NetworkManager_i::ping (  )  throw ()

Servant is still active?

Obviously yes if this function is called.

OSB_LIB::ResourceLists& OSB_CORBA::NetworkManager_i::resourceLists (  ) 

Provides access to ResourceLists.

Locators& OSB_CORBA::NetworkManager_i::rsrcLoc (  ) 

Return resource servant locator.

PortableServer::POA_ptr OSB_CORBA::NetworkManager_i::rsrcPoa (  ) 

Get POA for resources.

corba::imgmt::PoolId OSB_CORBA::NetworkManager_i::savePool ( corba::imgmt::Pool &  pool,
CORBA::Boolean  noWait 
) throw (CORBA::SystemException, OsbCorbaException)

Create or update an inventory pool.

Parameters:
pool Inventory pool to save.
noWait Don't wait for database locks?
Returns:
The object id of the pool.
Exceptions:
OsbCorbaException if the insertion or update of the pool fails.
Creates or updates the inventory pool in the database.

E164ResourceSeq* OSB_CORBA::NetworkManager_i::searchE164s ( ResourceStatus  status,
const Utf8String &  pattern,
int  maxNum 
) throw (CORBA::SystemException, OsbCorbaException)

Find E.164 resources by their number.

Parameters:
status Searched status of the resource,
ignored if set to res::rsUnknown.
pattern Pattern for which to search,
'?' matches one digit,
'*' matches a sequence of digits,
an empty pattern matches all numbers.
maxNum Maximum number of E.164 resources returned.

Locators& OSB_CORBA::NetworkManager_i::trkGroupLoc (  ) 

Return trunk group servant locator.

PortableServer::POA_ptr OSB_CORBA::NetworkManager_i::trkGroupPoa (  ) 

Return trunk group poa.

PortableServer::POA_ptr OSB_CORBA::NetworkManager_i::trkMgrPoa (  ) 

Return trunk group manager poa.

Locators& OSB_CORBA::NetworkManager_i::writerLoc (  ) 

Return a common writer servant locator.

PortableServer::POA_ptr OSB_CORBA::NetworkManager_i::writerPoa (  ) 

Return the common writer poa.


Member Data Documentation

Locators OSB_CORBA::NetworkManager_i::drMgrLoc_ [private]

Servant locator "D&R managers".

Definition at line 495 of file networkmanager_i.h.

PortableServer::POA_var OSB_CORBA::NetworkManager_i::drMgrPoa_ [private]

POA for interfaces "D&R manager".

Definition at line 475 of file networkmanager_i.h.

Locators OSB_CORBA::NetworkManager_i::dvcLoc_ [private]

Servant locator for Device.

Definition at line 499 of file networkmanager_i.h.

PortableServer::POA_var OSB_CORBA::NetworkManager_i::dvcPoa_ [private]

POA for interfaces "Device".

Definition at line 478 of file networkmanager_i.h.

const std::string OSB_CORBA::NetworkManager_i::IFC [static]

Definition at line 89 of file networkmanager_i.h.

ServerInfo OSB_CORBA::NetworkManager_i::info_ [private]

Network admin server info.

Definition at line 444 of file networkmanager_i.h.

InvPools* OSB_CORBA::NetworkManager_i::invPools_ [private]

List of inventory pools.

Definition at line 440 of file networkmanager_i.h.

Locators OSB_CORBA::NetworkManager_i::networkLoc_ [private]

Servant locator for network.

Definition at line 483 of file networkmanager_i.h.

PortableServer::POA_var OSB_CORBA::NetworkManager_i::networkPoa_ [private]

POA for network interface.

Definition at line 455 of file networkmanager_i.h.

Locators OSB_CORBA::NetworkManager_i::numAnalyzerLoc_ [private]

Servant locator for number analyzer.

Definition at line 489 of file networkmanager_i.h.

PortableServer::POA_var OSB_CORBA::NetworkManager_i::numAnalyzerPoa_ [private]

POA for number analyzer interface.

Definition at line 461 of file networkmanager_i.h.

Locators OSB_CORBA::NetworkManager_i::nwElementLoc_ [private]

Servant locator for network element.

Definition at line 485 of file networkmanager_i.h.

PortableServer::POA_var OSB_CORBA::NetworkManager_i::nwElementPoa_ [private]

POA for network element interface.

Definition at line 457 of file networkmanager_i.h.

const std::string OSB_CORBA::NetworkManager_i::nweMgrOidStr_ [private]

CORBA object id string for NetworkELementMgr servant.

Definition at line 447 of file networkmanager_i.h.

PortableServer::POA_var OSB_CORBA::NetworkManager_i::nweMgrPoa_ [private]

POA for network element manager interface.

Definition at line 467 of file networkmanager_i.h.

OSB_LIB::ResourceLists* OSB_CORBA::NetworkManager_i::resourceLists_ [private]

List of all resources that are currently loaded.

Definition at line 438 of file networkmanager_i.h.

Locators OSB_CORBA::NetworkManager_i::rsrcLoc_ [private]

Servant locator for resources.

Definition at line 497 of file networkmanager_i.h.

PortableServer::POA_var OSB_CORBA::NetworkManager_i::rsrcPoa_ [private]

POA for resource interface.

Definition at line 472 of file networkmanager_i.h.

Locators OSB_CORBA::NetworkManager_i::trkGroupLoc_ [private]

Servant locator for trunk group.

Definition at line 487 of file networkmanager_i.h.

PortableServer::POA_var OSB_CORBA::NetworkManager_i::trkGroupPoa_ [private]

POA for trunk group interface.

Definition at line 459 of file networkmanager_i.h.

const std::string OSB_CORBA::NetworkManager_i::trkMgrOidStr_ [private]

CORBA object id string for TrunkGroupMgr servant.

Definition at line 450 of file networkmanager_i.h.

PortableServer::POA_var OSB_CORBA::NetworkManager_i::trkMgrPoa_ [private]

POA for trunk group manager interface.

Definition at line 469 of file networkmanager_i.h.

Locators OSB_CORBA::NetworkManager_i::writerLoc_ [private]

Servant locator for all writable objects.

Definition at line 492 of file networkmanager_i.h.

PortableServer::POA_var OSB_CORBA::NetworkManager_i::writerPoa_ [private]

POA for all writable objects.

Definition at line 464 of file networkmanager_i.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:28:09 2006 for OSB Library by  doxygen 1.4.7