network.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.9.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 NETWORK_IDL
00031 #define NETWORK_IDL
00032 
00033 // *********************************************************************
00034 // included idl files
00035 #include "networkelement.idl"
00036 
00037 module corba {
00038     module nwmgr {
00039         module nw {
00040 
00047             interface Network {
00049                 NetworkId id()
00050                     raises (common::OsbCorbaException);
00051 
00053                 common::Utf8String name()
00054                     raises (common::OsbCorbaException);
00055 
00057                 common::Utf8String desc()
00058                     raises (common::OsbCorbaException);
00059 
00061                 tcat::cp::ConnectionPtId connectionPt()
00062                     raises (common::OsbCorbaException);
00063 
00065                 NwAddrInfo addrInfo()
00066                     raises (common::OsbCorbaException);
00067 
00069                 nwmgr::TimeZoneId tzId()
00070                     raises (common::OsbCorbaException);
00071 
00081                 nwmgr::nwe::NetworkElement getElement(
00082                     in nwmgr::nwe::NetworkElementId id
00083                 ) raises (common::OsbCorbaException);
00084 
00092                 nwmgr::nwe::NetworkElementSeq getElements()
00093                     raises (common::OsbCorbaException);
00094 
00106                 NetworkWriter getWriter()
00107                     raises (common::OsbCorbaException);
00108 
00109             };                          // interface Network
00110 
00119             interface NetworkWriter : Network {
00121                 void setName(in common::Utf8String name);
00122 
00124                 void setDesc(in common::Utf8String desc);
00125 
00127                 void setConnectionPt(
00128                     in tcat::cp::ConnectionPtId id
00129                 );
00130 
00132                 void setNwAddrInfo(in NwAddrInfo addrInfo);
00133 
00135                 void setTimeZone(in nwmgr::TimeZoneId id);
00136 
00155                 void commitChanges(
00156                     in boolean noWait
00157                 ) raises (common::OsbCorbaException);
00158 
00159             };                          // interface NetworkWriter
00160 
00161         };                              // module nw
00162     };                                  // module nwmgr
00163 };                                      // module corba
00164 #endif                                  // #ifndef NETWORK_IDL

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