Module TINAScsAmcCommon


Struct Index

t_AccountingEvent
t_DateTime
Accounting time stamp.
t_Timeval
Accounting measurement time duration. Time duration = tv_usec + 1.0e-6 * tv_usec [sec]
t_amcMeasurement
t_fromTo

Union Index

t_amcMdata
Accounting event definition.

Enum Index

amc_TimePeriod
amc_UnitType
Unit of measurement
t_AccountingEventType
Accounting event type.
t_AccountingMeasurementType
Accounting measurement type.
t_amcDsttype
Type of DST corrections.

Alias Index

t_AccountingEventList
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.
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.
t_amcMeasurementList
ulong
ushort

Structs

t_AccountingEvent
struct t_AccountingEvent
{
    TINACommonTypes::t_UserId userId;
    TINACommonTypes::t_SessionId sessionId;
    t_amcMeasurementList measured;
    Security::Opaque proof;
};
t_DateTime
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.

Members:
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)

t_Timeval
struct t_Timeval
{
    long tv_sec;
    long tv_usec;
};

Accounting measurement time duration. Time duration = tv_usec + 1.0e-6 * tv_usec [sec]


t_amcMeasurement
struct t_amcMeasurement
{
    t_DateTime timestamp;
    t_AccountingMeasurementType amcMtype;
    t_amcMdata measured;
    amc_UnitType utype;
    long uvalue;
};
t_fromTo
struct t_fromTo
{
    t_DateTime from;
    t_DateTime to;
};

Unions

t_amcMdata
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.



Enums

amc_TimePeriod
enum amc_TimePeriod
{
    usec,
    msec,
    sec,
    min,
    hour,
    half_day,
    day,
    three_days,
    week,
    half_month,
    month,
    three_months,
    half_year,
    year,
    three_years
};
amc_UnitType
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


t_AccountingEventType
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.


t_AccountingMeasurementType
enum t_AccountingMeasurementType
{
    differential_1,
    differential_2,
    regular
};

Accounting measurement type.


t_amcDsttype
enum t_amcDsttype
{
    None,
    USA,
    AUST,
    WET,
    MET,
    EET,
    CAN,
    UK,
    RUM,
    TUR,
    AUSTLT
};

Type of DST corrections.

Members:
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


Aliases

t_AccountingEventList
typedef sequence<t_AccountingEvent> t_AccountingEventList;
t_ServiceTransactionId
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.


t_TariffId
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.


t_amcMeasurementList
typedef sequence<t_amcMeasurement> t_amcMeasurementList;
ulong
typedef unsigned short ulong;
ushort
typedef unsigned short ushort;

Generated by the OmniBroker IDL-to-HTML translator (non-commercial)