Interface TalkBurstExchange

  • All Superinterfaces:
    Cloneable, DiameterAvp, GroupedAvp

    public interface TalkBurstExchange
    extends GroupedAvp
    Defines an interface representing the Talk-Burst-Exchange grouped AVP type. From the Diameter Rf Reference Point Protocol Details (3GPP TS 32.299 V7.1.0) specification:
     7.2.108     Talk-Burst-Exchange AVP
     
     The Talk-Burst-Exchange AVP (AVP code 860) is of type Grouped and holds the
     talk burst related charging data.
     
     It has the following ABNF grammar:
     
           Talk-Burst-Exchange ::=   < AVP Header: 860 >
                                     [ Number-Of-Talk-Bursts ] #exclude
                                     [ Talk-Burst-Volume ] #exclude
                                     [ Talk-Bursts-Time ] #exclude
                                     [ Number-Of-Received-Talk-Bursts ] #exclude
                                     [ Received-Talk-Burst-Volume ] #exclude
                                     [ Received-Talk-Burst-Time ] #exclude
     
    Note:
    The support for extension AVPs is present even thou the ABNF grammar for this AVP does not contain the "* [ AVP ]" line. Be aware that adding any extension AVPs may result in interoperability problems with products that strongly validate the incoming diameter message for it's adherence to the specification.
    • Method Detail

      • getExtensionAvps

        DiameterAvp[] getExtensionAvps()
        Returns the set of extension AVPs. The returned array contains the extension AVPs in the order they appear in the Talk-Burst-Exchange AVP. A return value of null implies that no extensions AVPs have been set.
      • setExtensionAvps

        void setExtensionAvps​(DiameterAvp[] avps)
                       throws AvpNotAllowedException
        Sets the set of extension AVPs with all the values in the given array. The AVPs will be added to Talk-Burst-Exchange AVP in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getExtensionAvps() is not guaranteed to return the same array instance, e.g. an "==" check would fail.
        Throws:
        AvpNotAllowedException - if an AVP is encountered of a type already known to this class (i.e. an AVP for which get/set methods already appear in this class)
        NullPointerException - if avps is null.
      • removeExtensionAvps

        void removeExtensionAvps()
        Removes all extension AVPs from the Talk-Burst-Exchange AVP. If no extension AVPs are present, this method returns silently.