public interface TalkBurstExchange extends GroupedAvp
7.2.220 Talk-Burst-Exchange AVP The Talk-Burst-Exchange AVP (AVP code 1255) is of type Grouped and holds the talk burst related charging data. It has the following ABNF grammar: Talk-Burst-Exchange ::= < AVP Header: 1255 > { PoC-Change-Time } [ Number-Of-Talk-Bursts ] [ Talk-Burst-Volume ] [ Talk-Burst-Time ] [ Number-Of-Received-Talk-Bursts ] [ Received-Talk-Burst-Volume ] [ Received-Talk-Burst-Time ] [ Number-Of-Participants ] [ PoC-Change-Condition ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
long |
getNumberOfParticipants()
Returns the value of the Number-Of-Participants AVP, of type Unsigned32.
|
long |
getNumberOfReceivedTalkBursts()
Returns the value of the Number-Of-Received-Talk-Bursts AVP, of type Unsigned32.
|
long |
getNumberOfTalkBursts()
Returns the value of the Number-Of-Talk-Bursts AVP, of type Unsigned32.
|
PocChangeCondition |
getPocChangeCondition()
Returns the value of the PoC-Change-Condition AVP, of type Enumerated.
|
java.util.Date |
getPocChangeTime()
Returns the value of the PoC-Change-Time AVP, of type Time.
|
long |
getReceivedTalkBurstTime()
Returns the value of the Received-Talk-Burst-Time AVP, of type Unsigned32.
|
long |
getReceivedTalkBurstVolume()
Returns the value of the Received-Talk-Burst-Volume AVP, of type Unsigned32.
|
long |
getTalkBurstTime()
Returns the value of the Talk-Burst-Time AVP, of type Unsigned32.
|
long |
getTalkBurstVolume()
Returns the value of the Talk-Burst-Volume AVP, of type Unsigned32.
|
boolean |
hasNumberOfParticipants()
Returns true if the Number-Of-Participants AVP is present in the Talk-Burst-Exchange AVP.
|
boolean |
hasNumberOfReceivedTalkBursts()
Returns true if the Number-Of-Received-Talk-Bursts AVP is present in the Talk-Burst-Exchange AVP.
|
boolean |
hasNumberOfTalkBursts()
Returns true if the Number-Of-Talk-Bursts AVP is present in the Talk-Burst-Exchange AVP.
|
boolean |
hasPocChangeCondition()
Returns true if the PoC-Change-Condition AVP is present in the Talk-Burst-Exchange AVP.
|
boolean |
hasPocChangeTime()
Returns true if the PoC-Change-Time AVP is present in the Talk-Burst-Exchange AVP.
|
boolean |
hasReceivedTalkBurstTime()
Returns true if the Received-Talk-Burst-Time AVP is present in the Talk-Burst-Exchange AVP.
|
boolean |
hasReceivedTalkBurstVolume()
Returns true if the Received-Talk-Burst-Volume AVP is present in the Talk-Burst-Exchange AVP.
|
boolean |
hasTalkBurstTime()
Returns true if the Talk-Burst-Time AVP is present in the Talk-Burst-Exchange AVP.
|
boolean |
hasTalkBurstVolume()
Returns true if the Talk-Burst-Volume AVP is present in the Talk-Burst-Exchange AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Talk-Burst-Exchange AVP.
|
void |
removeNumberOfParticipants()
Removes the Number-Of-Participants AVP from the Talk-Burst-Exchange AVP.
|
void |
removeNumberOfReceivedTalkBursts()
Removes the Number-Of-Received-Talk-Bursts AVP from the Talk-Burst-Exchange AVP.
|
void |
removeNumberOfTalkBursts()
Removes the Number-Of-Talk-Bursts AVP from the Talk-Burst-Exchange AVP.
|
void |
removePocChangeCondition()
Removes the PoC-Change-Condition AVP from the Talk-Burst-Exchange AVP.
|
void |
removePocChangeTime()
Removes the PoC-Change-Time AVP from the Talk-Burst-Exchange AVP.
|
void |
removeReceivedTalkBurstTime()
Removes the Received-Talk-Burst-Time AVP from the Talk-Burst-Exchange AVP.
|
void |
removeReceivedTalkBurstVolume()
Removes the Received-Talk-Burst-Volume AVP from the Talk-Burst-Exchange AVP.
|
void |
removeTalkBurstTime()
Removes the Talk-Burst-Time AVP from the Talk-Burst-Exchange AVP.
|
void |
removeTalkBurstVolume()
Removes the Talk-Burst-Volume AVP from the Talk-Burst-Exchange AVP.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setNumberOfParticipants(long numberOfParticipants)
Sets the value of the Number-Of-Participants AVP, of type Unsigned32.
|
void |
setNumberOfReceivedTalkBursts(long numberOfReceivedTalkBursts)
Sets the value of the Number-Of-Received-Talk-Bursts AVP, of type Unsigned32.
|
void |
setNumberOfTalkBursts(long numberOfTalkBursts)
Sets the value of the Number-Of-Talk-Bursts AVP, of type Unsigned32.
|
void |
setPocChangeCondition(PocChangeCondition pocChangeCondition)
Sets the value of the PoC-Change-Condition AVP, of type Enumerated.
|
void |
setPocChangeTime(java.util.Date pocChangeTime)
Sets the value of the PoC-Change-Time AVP, of type Time.
|
void |
setReceivedTalkBurstTime(long receivedTalkBurstTime)
Sets the value of the Received-Talk-Burst-Time AVP, of type Unsigned32.
|
void |
setReceivedTalkBurstVolume(long receivedTalkBurstVolume)
Sets the value of the Received-Talk-Burst-Volume AVP, of type Unsigned32.
|
void |
setTalkBurstTime(long talkBurstTime)
Sets the value of the Talk-Burst-Time AVP, of type Unsigned32.
|
void |
setTalkBurstVolume(long talkBurstVolume)
Sets the value of the Talk-Burst-Volume AVP, of type Unsigned32.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasPocChangeTime()
java.util.Date getPocChangeTime()
void setPocChangeTime(java.util.Date pocChangeTime)
java.lang.NullPointerException
- if pocChangeTime
is null
.void removePocChangeTime()
boolean hasNumberOfTalkBursts()
long getNumberOfTalkBursts()
hasNumberOfTalkBursts()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Number-Of-Talk-Bursts AVP has not been set.void setNumberOfTalkBursts(long numberOfTalkBursts)
void removeNumberOfTalkBursts()
boolean hasTalkBurstVolume()
long getTalkBurstVolume()
hasTalkBurstVolume()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Talk-Burst-Volume AVP has not been set.void setTalkBurstVolume(long talkBurstVolume)
void removeTalkBurstVolume()
boolean hasTalkBurstTime()
long getTalkBurstTime()
hasTalkBurstTime()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Talk-Burst-Time AVP has not been set.void setTalkBurstTime(long talkBurstTime)
void removeTalkBurstTime()
boolean hasNumberOfReceivedTalkBursts()
long getNumberOfReceivedTalkBursts()
hasNumberOfReceivedTalkBursts()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Number-Of-Received-Talk-Bursts AVP has not been set.void setNumberOfReceivedTalkBursts(long numberOfReceivedTalkBursts)
void removeNumberOfReceivedTalkBursts()
boolean hasReceivedTalkBurstVolume()
long getReceivedTalkBurstVolume()
hasReceivedTalkBurstVolume()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Received-Talk-Burst-Volume AVP has not been set.void setReceivedTalkBurstVolume(long receivedTalkBurstVolume)
void removeReceivedTalkBurstVolume()
boolean hasReceivedTalkBurstTime()
long getReceivedTalkBurstTime()
hasReceivedTalkBurstTime()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Received-Talk-Burst-Time AVP has not been set.void setReceivedTalkBurstTime(long receivedTalkBurstTime)
void removeReceivedTalkBurstTime()
boolean hasNumberOfParticipants()
long getNumberOfParticipants()
hasNumberOfParticipants()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Number-Of-Participants AVP has not been set.void setNumberOfParticipants(long numberOfParticipants)
void removeNumberOfParticipants()
boolean hasPocChangeCondition()
PocChangeCondition getPocChangeCondition()
void setPocChangeCondition(PocChangeCondition pocChangeCondition)
java.lang.NullPointerException
- if pocChangeCondition
is null
.void removePocChangeCondition()
DiameterAvp[] getExtensionAvps()
void setExtensionAvps(DiameterAvp[] avps) throws AvpNotAllowedException
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)java.lang.NullPointerException
- if avps
is null
.void removeExtensionAvps()