net.java.slee.resource.diameter.ro.events.avp
Interface ServerCapabilities

All Superinterfaces:
java.lang.Cloneable, net.java.slee.resource.diameter.base.events.avp.DiameterAvp, net.java.slee.resource.diameter.base.events.avp.GroupedAvp
All Known Implementing Classes:
ServerCapabilitiesImpl

public interface ServerCapabilities
extends net.java.slee.resource.diameter.base.events.avp.GroupedAvp

Java class to represent the Adaptations enumerated type.

 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 ::= 
   *[Mandatory-Capability]
   *[Optional-Capability]
   *[Server-Name]
   *[AVP]
 

Author:
Alexandre Mendonca , Bartosz Baranowski

Field Summary
 
Fields inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
 
Method Summary
 long getMandatoryCapability()
          Returns the value of the Mandatory-Capability AVP, of type Unsigned32.
 long getOptionalCapability()
          Returns the value of the Optional-Capability AVP, of type Unsigned32.
 java.lang.String getServerName()
          Returns the value of the Server-Name AVP, of type UTF8String.
 boolean hasMandatoryCapability()
          Returns true if the Mandatory-Capability AVP is present in the message.
 boolean hasOptionalCapability()
          Returns true if the Optional-Capability AVP is present in the message.
 boolean hasServerName()
          Returns the value of the Server-Name AVP, of type UTF8String.
 void setMandatoryCapability(long mandatoryCapability)
          Sets the value of the Mandatory-Capability AVP, of type Unsigned32.
 void setOptionalCapability(long optionalCapability)
          Sets the value of the Optional-Capability AVP, of type Unsigned32.
 void setServerName(java.lang.String serverName)
          Returns the value of the Server-Name AVP, of type UTF8String.
 
Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.GroupedAvp
getExtensionAvps, setExtensionAvps
 
Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorId, intValue, longValue, octetStringValue, stringValue
 

Method Detail

getMandatoryCapability

long getMandatoryCapability()
Returns the value of the Mandatory-Capability AVP, of type Unsigned32. A return value of null implies that the AVP has not been set.


getOptionalCapability

long getOptionalCapability()
Returns the value of the Optional-Capability AVP, of type Unsigned32. A return value of null implies that the AVP has not been set.


getServerName

java.lang.String getServerName()
Returns the value of the Server-Name AVP, of type UTF8String. A return value of null implies that the AVP has not been set.


hasMandatoryCapability

boolean hasMandatoryCapability()
Returns true if the Mandatory-Capability AVP is present in the message.


hasOptionalCapability

boolean hasOptionalCapability()
Returns true if the Optional-Capability AVP is present in the message.


hasServerName

boolean hasServerName()
Returns the value of the Server-Name AVP, of type UTF8String. A return value of null implies that the AVP has not been set.


setMandatoryCapability

void setMandatoryCapability(long mandatoryCapability)
Sets the value of the Mandatory-Capability AVP, of type Unsigned32.


setOptionalCapability

void setOptionalCapability(long optionalCapability)
Sets the value of the Optional-Capability AVP, of type Unsigned32.


setServerName

void setServerName(java.lang.String serverName)
Returns the value of the Server-Name AVP, of type UTF8String. A return value of null implies that the AVP has not been set.



Copyright © 2011. All Rights Reserved.