struct t_AccountingEvent { TINACommonTypes::t_UserId userId; TINACommonTypes::t_SessionId sessionId; t_amcMeasurementList measured; Security::Opaque proof; };
struct t_DateTime { ushort tm_usec; ushort tm_sec; ushort tm_min; ushort tm_hour; ushort tm_mday; ushort tm_mon; ulong tm_year; ushort tm_wday; ushort tm_yday; string tm_zone; short tz_minuteswest; t_amcDsttype tz_dsttime; };
Accounting time stamp.
tm_usec
- microseconds (0...999)
tm_sec
- seconds (0...59)
tm_min
- minutes (0...59)
tm_hour
- hour (0...23)
tm_mday
- day of month (1...31)
tm_mon
- month (1...12)
tm_year
- year
tm_wday
- day of the week (0...6)
tm_yday
- day of the year (1...366)
struct t_Timeval { long tv_sec; long tv_usec; };
Accounting measurement time duration. Time duration = tv_usec + 1.0e-6 * tv_usec [sec]
struct t_amcMeasurement { t_DateTime timestamp; t_AccountingMeasurementType amcMtype; t_amcMdata measured; amc_UnitType utype; long uvalue; };
struct t_fromTo { t_DateTime from; t_DateTime to; };
union t_amcMdata switch(t_AccountingMeasurementType) { case differential_1: t_Timeval tval; case differential_2: t_fromTo fromTo; case regular: t_DateTime time; };
Accounting event definition.
enum amc_TimePeriod { usec, msec, sec, min, hour, half_day, day, three_days, week, half_month, month, three_months, half_year, year, three_years };
enum amc_UnitType { bits, Kbits, Mbits, Gbits, Tbits, Pbits, bps, Kbps, Mbps, Gbps, Tbps, Pbps, bytes, Kbytes, Mbytes, Gbytes, Tbytes, Pbytes, Byps, KByps, MByps, GByps, TByps, PByps, cells, Kcells, Mcells, Gcells, Tcells, Pcells, cps, Kcps, Mcps, Gcps, Tcps, Pcps };
Unit of measurement
enum t_AccountingEventType { bindingSB, unbindingSB, measurementSB, doneSFC, undoneSFC, measurementSFC, doneNFC, undoneNFC, measurementNFC, doneTFC, undoneTFC, measurementTFC, doneTrail, undoneTrail, measurementTrail, doneSNC, undoneSNC, measurementSNC, doneLC, undoneLC, measurementLC, doneTC, undoneTC, measurementTC };
Accounting event type.
enum t_AccountingMeasurementType { differential_1, differential_2, regular };
Accounting measurement type.
enum t_amcDsttype { None, USA, AUST, WET, MET, EET, CAN, UK, RUM, TUR, AUSTLT };
Type of DST corrections.
None
- not on dst
USA
- USA
AUST
- Australia
WET
- Western Europe
EET
- Eastern Europe
CAN
- Canada
UK
- UK and Eire
RUM
- Rumania
TUR
- Turkey
AUSTLT
- Australia with shift in 1986
typedef sequence<t_AccountingEvent> t_AccountingEventList;
typedef string t_ServiceTransactionId;
Service transaction definition. Service transaction is an information object, as such it only carries Id to distinguish one from the other. It purpose is to give use specific service management, when management context of one user has to be distinguished from others. For example, an SSM needs to distinguish notification interfaces of USM, when its billing information is to be sent on-line, with which the user (ServiceTransaction) is associated.
typedef string t_TariffId;
Tariff structure definition. Details of the interface which admits accessing tariff structure is yet to be defined. This id is used by SSM, and is resolved such that the SSM can derive necessary tariffing information to calculate bills. For more details, see TINAScsAmcTariff.idl.
typedef sequence<t_amcMeasurement> t_amcMeasurementList;
typedef unsigned short ulong;
typedef unsigned short ushort;
Generated by the OmniBroker IDL-to-HTML translator (non-commercial)