corba_utility.idl

Go to the documentation of this file.
00001 // OSB library ********************************************* -*- C++ -*-
00010 /*
00011   AUTHOR(S): Rene Schneider (rsn)
00012 
00013   RCS information
00014    $Name: OSB_060808 $
00015    $Revision: 1.27.2.1 $
00016 
00017   License
00018    OSB rating and billing library for communication networks
00019    Copyright (C) 2004, 2005, 2006  OSB systems
00020 
00021    This file may be distributed and/or modify under the terms of the
00022    GNU General Public License (GPL) as published by the Free Software
00023    Foundation which is provided in the file LICENSE.GPL included in the
00024    packaging of this file.
00025 
00026    The file is distributed in the hope that it will be useful, but WITHOUT
00027    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00028    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00029    for more details.
00030 
00031    Holders of a OSB Commercial License may use this file under the terms
00032    and conditions of this commercial license.
00033  */
00034 
00035 #ifndef CORBA_UTILITY_IDL
00036 #define CORBA_UTILITY_IDL
00037 // ************************************************************
00038 #include "exception.idl"
00039 #include "utf8string.idl"
00040 
00041 module corba {
00042     module common {
00044         struct Date {
00045             short   year;         
00046             short   month;        
00047             short   day;          
00048             boolean isSet;        
00049         };
00050 
00051         typedef sequence<Date> DateSeq;
00052 
00054         struct Time {
00055             short hour;         
00056             short min;          
00057             short sec;          
00058         };
00059 
00061         struct Offset {
00063             boolean isSet;
00065             long utcOff;
00066         };
00067 
00069         struct DateTime {
00070             Date dateT;  
00071             Time timeD;  
00072             Offset off;  
00073 
00075             Utf8String strLocale;
00076 
00078             Utf8String str;
00079         };
00080 
00082         enum CfgStatus {
00083             editable,       
00084             standby,        
00085             testing,        
00086             released,       
00087             unknown         
00088         };
00089 
00091         struct CfgError {
00093             Utf8String errorCode;
00094 
00096             long errorNo;
00097 
00099             Utf8String errorMsg;
00100         };
00101 
00103         typedef sequence<CfgError> CfgErrorSeq;
00104 
00106         struct ServerInfo {
00108             Utf8String hostName;
00109 
00111             Utf8String NsHostName;
00112 
00114             Utf8String NsPortNo;
00115 
00117             Utf8String logFile;
00118 
00120             Utf8String database;
00121 
00123             Utf8String user;
00124 
00126             Utf8String releasedTag;
00127         };
00128     };
00129 };
00130 
00131 #endif // CORBA_UTILITY_IDL

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