public interface ServerCapabilities extends GroupedAvp
6.3.4 Server-Capabilities AVP The Server-Capabilities AVP is of type Grouped. This AVP contains information to assist the I-CSCF in the selection of an S-CSCF. AVP format: Server-Capabilities ::= < AVP Header: 603> * [ Mandatory-Capability ] * [ Optional-Capability ] * [ Server-Name ] * [ AVP ] From Cx and Dx interfaces based on the Diameter protocol Protocol details (3GPP TS 29.229 version 7.11.0 Release 7)
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
byte[][] |
getMandatoryCapabilitys()
Returns the set of Mandatory-Capability AVPs.
|
byte[][] |
getOptionalCapabilitys()
Returns the set of Optional-Capability AVPs.
|
byte[][] |
getServerNames()
Returns the set of Server-Name AVPs.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Server-Capabilities AVP.
|
void |
removeMandatoryCapabilitys()
Removes all Mandatory-Capability AVPs from the Server-Capabilities AVP.
|
void |
removeOptionalCapabilitys()
Removes all Optional-Capability AVPs from the Server-Capabilities AVP.
|
void |
removeServerNames()
Removes all Server-Name AVPs from the Server-Capabilities AVP.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setMandatoryCapability(byte[] mandatoryCapability)
Sets a single Mandatory-Capability AVP in the Server-Capabilities AVP, of type OctetString.
|
void |
setMandatoryCapabilitys(byte[][] mandatoryCapabilitys)
Sets the set of Mandatory-Capability AVPs, with all the values in the given array.
|
void |
setOptionalCapability(byte[] optionalCapability)
Sets a single Optional-Capability AVP in the Server-Capabilities AVP, of type OctetString.
|
void |
setOptionalCapabilitys(byte[][] optionalCapabilitys)
Sets the set of Optional-Capability AVPs, with all the values in the given array.
|
void |
setServerName(byte[] serverName)
Sets a single Server-Name AVP in the Server-Capabilities AVP, of type OctetString.
|
void |
setServerNames(byte[][] serverNames)
Sets the set of Server-Name AVPs, with all the values in the given array.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
byte[][] getMandatoryCapabilitys()
void setMandatoryCapability(byte[] mandatoryCapability)
java.lang.NullPointerException
- if mandatoryCapability
is null
.void setMandatoryCapabilitys(byte[][] mandatoryCapabilitys)
java.lang.NullPointerException
- if mandatoryCapabilitys
is null
.void removeMandatoryCapabilitys()
byte[][] getOptionalCapabilitys()
void setOptionalCapability(byte[] optionalCapability)
java.lang.NullPointerException
- if optionalCapability
is null
.void setOptionalCapabilitys(byte[][] optionalCapabilitys)
java.lang.NullPointerException
- if optionalCapabilitys
is null
.void removeOptionalCapabilitys()
byte[][] getServerNames()
void setServerName(byte[] serverName)
java.lang.NullPointerException
- if serverName
is null
.void setServerNames(byte[][] serverNames)
java.lang.NullPointerException
- if serverNames
is null
.void removeServerNames()
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()