Navigation


Changes between Version 2 and Version 3 of Dev/API


Ignore:
Timestamp:
Mar 1, 2011, 5:27:14 PM (10 years ago)
Author:
Sebastien Decugis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Dev/API

    v2 v3  
    149149
    150150 type::
    151    This corresponds to the "Derived type" defined in RFC3588. An AVP can be either defined with a Base Type (OctetString, Unsigned32, ...) or a Derived Type. In terms of pure parsing, it does not change anything, but defining a Derived Type allows to:
     151   This corresponds to the "Derived type" defined in RFC3588. An AVP can be either defined with a Base Type (!OctetString, Unsigned32, ...) or a Derived Type. In terms of pure parsing, it does not change anything, but defining a Derived Type allows to:
    152152   * define functions to handle the data with a specific encoding for example (see [http://lists.freediameter.net/pipermail/dev/2011-February/000143.html this mail] for more details).
    153153   * and/or define constants values for this type. This is a bit different from the Diameter RFC that defines all AVP with constant values as Enumerated type.
     
    159159
    160160 AVP::
    161    This object associates AVP code and vendor to its name, flags, and basic type, which allows for parsing the Diameter message and interpreting the content of the AVP (for example, we can learn if an AVP containts OctetString data or if this is a Grouped AVP containing other AVPs in its data portion). Optionaly, the AVP can be associated with a Derived Type when it is created, which allows some additional features.
     161   This object associates AVP code and vendor to its name, flags, and basic type, which allows for parsing the Diameter message and interpreting the content of the AVP (for example, we can learn if an AVP containts !OctetString data or if this is a Grouped AVP containing other AVPs in its data portion). Optionaly, the AVP can be associated with a Derived Type when it is created, which allows some additional features.
    162162
    163163 command::