trunkgroup.idl

Go to the documentation of this file.
00001 // OSB library ********************************************* -*- IDL -*-
00006 /*
00007   AUTHOR(S): Huang Yong Feng (hyf)
00008 
00009   RCS information
00010    $Name: OSB_060808 $
00011    $Revision: 1.13.2.1 $
00012 
00013   License
00014    OSB rating and billing library for communication networks
00015    Copyright (C) 2004, 2005, 2006  OSB systems
00016 
00017    This file may be distributed and/or modify under the terms of the
00018    GNU General Public License (GPL) as published by the Free Software
00019    Foundation which is provided in the file LICENSE.GPL included in the
00020    packaging of this file.
00021 
00022    The file is distributed in the hope that it will be useful, but WITHOUT
00023    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00024    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00025    for more details.
00026 
00027    Holders of a OSB Commercial License may use this file under the terms
00028    and conditions of this commercial license.
00029  */
00030 #ifndef TRUNKGROUP_IDL
00031 #define TRUNKGROUP_IDL
00032 // *********************************************************************
00033 // included idl files
00034 #include "corba_utility.idl"
00035 #include "numberanalyzer.idl"
00036 
00037 module corba {
00038     module nwmgr {
00039         module trk {
00040 
00042             enum Direction {
00043                 dirUnknown,  
00044                 dirIn,       
00045                 dirOut       
00046             };
00047 
00049             enum LinkType {
00050                 lkUnknown,  
00051                 lkExternal, 
00052                 lkInternal, 
00053                 lkTerminal  
00054             };
00055 
00061             interface TrunkGroup {
00063                 TrunkGroupId id()
00064                     raises (common::OsbCorbaException);
00065 
00067                 nwmgr::nwe::NetworkElementId elementId()
00068                     raises (common::OsbCorbaException);
00069 
00071                 common::Utf8String name()
00072                     raises (common::OsbCorbaException);
00073 
00075                 Direction dir()
00076                     raises (common::OsbCorbaException);
00077 
00079                 LinkType lkType()
00080                     raises (common::OsbCorbaException);
00081 
00090                 nwmgr::nwe::NetworkElementId extElementId()
00091                     raises (common::OsbCorbaException);
00092 
00094                 nwmgr::numanalyzer::NumberAnalyzer getNumberAnalyzer()
00095                     raises (common::OsbCorbaException);
00096 
00109                 TrunkGroupWriter getWriter()
00110                     raises (common::OsbCorbaException);
00111 
00112             }; // interface TrunkGroup
00113 
00114 
00124             interface TrunkGroupWriter : TrunkGroup {
00132                 void setName(
00133                     in common::Utf8String name
00134                 );
00135 
00143                 void setLinkType(
00144                     in LinkType lkType
00145                 );
00146 
00154                 void setDirection(
00155                     in Direction dir
00156                 );
00157 
00166                 void setExtElement(
00167                     in nwmgr::nwe::NetworkElementId extNweId
00168                 );
00169 
00176                 nwmgr::numanalyzer::NumberAnalyzerWriter
00177                     addNewNumberAnalyzer();
00178 
00183                 void delNumberAnalyzer();
00184 
00186                 nwmgr::numanalyzer::NumberAnalyzerWriter
00187                     getNumberAnalyzerWriter()
00188                         raises (common::OsbCorbaException);
00189 
00198                 void saveNumberAnalyzer();
00199 
00219                 TrunkGroupId commitChanges(
00220                     in boolean noWait
00221                 ) raises (common::OsbCorbaException);
00222 
00223             }; // interface TrunkGroupWriter
00224 
00225         }; // module trk
00226 
00227     }; // module nwmgr
00228 
00229 }; // module corba
00230 #endif                                  // #ifndef TRUNKGROUP_IDL

Generated on Sat Sep 2 14:23:01 2006 for OSB Library by  doxygen 1.4.7