public interface PocInformation extends GroupedAvp
7.2.78 PoC-Information AVP The PoC-Information AVP (AVP code 879) is of type Grouped. Its purpose is to allow the transmission of additional PoC service specific information elements. It has the following ABNF grammar: PoC-Information ::= < AVP Header: 879> [ PoC-Server-Role ] [ PoC-Session-Type ] [ Number-Of-Participants ] * [ Participants-Involved ] * [ Talk-Burst-Exchange ] [ PoC-Controlling-Address ] [ PoC-Group-Name ] [ PoC-Session-Id ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
int |
getNumberOfParticipants()
Returns the value of the Number-Of-Participants AVP, of type Integer32.
|
java.lang.String[] |
getParticipantsInvolveds()
Returns the set of Participants-Involved AVPs.
|
java.lang.String |
getPocControllingAddress()
Returns the value of the PoC-Controlling-Address AVP, of type UTF8String.
|
java.lang.String |
getPocGroupName()
Returns the value of the PoC-Group-Name AVP, of type UTF8String.
|
PocServerRole |
getPocServerRole()
Returns the value of the PoC-Server-Role AVP, of type Enumerated.
|
java.lang.String |
getPocSessionId()
Returns the value of the PoC-Session-Id AVP, of type UTF8String.
|
PocSessionType |
getPocSessionType()
Returns the value of the PoC-Session-Type AVP, of type Enumerated.
|
TalkBurstExchange[] |
getTalkBurstExchanges()
Returns the set of Talk-Burst-Exchange AVPs.
|
boolean |
hasNumberOfParticipants()
Returns true if the Number-Of-Participants AVP is present in the PoC-Information AVP.
|
boolean |
hasPocControllingAddress()
Returns true if the PoC-Controlling-Address AVP is present in the PoC-Information AVP.
|
boolean |
hasPocGroupName()
Returns true if the PoC-Group-Name AVP is present in the PoC-Information AVP.
|
boolean |
hasPocServerRole()
Returns true if the PoC-Server-Role AVP is present in the PoC-Information AVP.
|
boolean |
hasPocSessionId()
Returns true if the PoC-Session-Id AVP is present in the PoC-Information AVP.
|
boolean |
hasPocSessionType()
Returns true if the PoC-Session-Type AVP is present in the PoC-Information AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the PoC-Information AVP.
|
void |
removeNumberOfParticipants()
Removes the Number-Of-Participants AVP from the PoC-Information AVP.
|
void |
removeParticipantsInvolveds()
Removes all Participants-Involved AVPs from the PoC-Information AVP.
|
void |
removePocControllingAddress()
Removes the PoC-Controlling-Address AVP from the PoC-Information AVP.
|
void |
removePocGroupName()
Removes the PoC-Group-Name AVP from the PoC-Information AVP.
|
void |
removePocServerRole()
Removes the PoC-Server-Role AVP from the PoC-Information AVP.
|
void |
removePocSessionId()
Removes the PoC-Session-Id AVP from the PoC-Information AVP.
|
void |
removePocSessionType()
Removes the PoC-Session-Type AVP from the PoC-Information AVP.
|
void |
removeTalkBurstExchanges()
Removes all Talk-Burst-Exchange AVPs from the PoC-Information AVP.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setNumberOfParticipants(int numberOfParticipants)
Sets the value of the Number-Of-Participants AVP, of type Integer32.
|
void |
setParticipantsInvolved(java.lang.String participantsInvolved)
Sets a single Participants-Involved AVP in the PoC-Information AVP, of type UTF8String.
|
void |
setParticipantsInvolveds(java.lang.String[] participantsInvolveds)
Sets the set of Participants-Involved AVPs, with all the values in the given array.
|
void |
setPocControllingAddress(java.lang.String pocControllingAddress)
Sets the value of the PoC-Controlling-Address AVP, of type UTF8String.
|
void |
setPocGroupName(java.lang.String pocGroupName)
Sets the value of the PoC-Group-Name AVP, of type UTF8String.
|
void |
setPocServerRole(PocServerRole pocServerRole)
Sets the value of the PoC-Server-Role AVP, of type Enumerated.
|
void |
setPocSessionId(java.lang.String pocSessionId)
Sets the value of the PoC-Session-Id AVP, of type UTF8String.
|
void |
setPocSessionType(PocSessionType pocSessionType)
Sets the value of the PoC-Session-Type AVP, of type Enumerated.
|
void |
setTalkBurstExchange(TalkBurstExchange talkBurstExchange)
Sets a single Talk-Burst-Exchange AVP in the PoC-Information AVP, of type Grouped.
|
void |
setTalkBurstExchanges(TalkBurstExchange[] talkBurstExchanges)
Sets the set of Talk-Burst-Exchange AVPs, with all the values in the given array.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasPocServerRole()
PocServerRole getPocServerRole()
void setPocServerRole(PocServerRole pocServerRole)
java.lang.NullPointerException
- if pocServerRole
is null
.void removePocServerRole()
boolean hasPocSessionType()
PocSessionType getPocSessionType()
void setPocSessionType(PocSessionType pocSessionType)
java.lang.NullPointerException
- if pocSessionType
is null
.void removePocSessionType()
boolean hasNumberOfParticipants()
int getNumberOfParticipants()
hasNumberOfParticipants()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Number-Of-Participants AVP has not been set.void setNumberOfParticipants(int numberOfParticipants)
void removeNumberOfParticipants()
java.lang.String[] getParticipantsInvolveds()
void setParticipantsInvolved(java.lang.String participantsInvolved)
java.lang.NullPointerException
- if participantsInvolved
is null
.void setParticipantsInvolveds(java.lang.String[] participantsInvolveds)
java.lang.NullPointerException
- if participantsInvolveds
is null
.void removeParticipantsInvolveds()
TalkBurstExchange[] getTalkBurstExchanges()
void setTalkBurstExchange(TalkBurstExchange talkBurstExchange)
java.lang.NullPointerException
- if talkBurstExchange
is null
.void setTalkBurstExchanges(TalkBurstExchange[] talkBurstExchanges)
java.lang.NullPointerException
- if talkBurstExchanges
is null
.void removeTalkBurstExchanges()
boolean hasPocControllingAddress()
java.lang.String getPocControllingAddress()
void setPocControllingAddress(java.lang.String pocControllingAddress)
java.lang.NullPointerException
- if pocControllingAddress
is null
.void removePocControllingAddress()
boolean hasPocGroupName()
java.lang.String getPocGroupName()
void setPocGroupName(java.lang.String pocGroupName)
java.lang.NullPointerException
- if pocGroupName
is null
.void removePocGroupName()
boolean hasPocSessionId()
java.lang.String getPocSessionId()
void setPocSessionId(java.lang.String pocSessionId)
java.lang.NullPointerException
- if pocSessionId
is null
.void removePocSessionId()
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()