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

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:
ApplicationServerInformationImpl

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

Defines an interface representing the Application-Server-Information grouped AVP type.

From the Diameter Ro Reference Point Protocol Details (3GPP TS 32.299 V7.1.0) specification:

 7.2.12 Application-Server-Information AVP
 
 The Application-Server-Information AVP (AVP code 850) is of type Grouped and contains information about application
 servers visited through ISC interface. 
 
 It has the following ABNF grammar: 
  Application-Server-Information ::= AVP Header: 850 
      [ Application-Server ] 
    * [ Application-Provided-Called-Party-Address ]
 

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
 java.lang.String[] getApplicationProvidedCalledPartyAddresses()
          Returns the set of Application-Provided-Called-Party-Address AVPs.
 java.lang.String getApplicationServer()
          Returns the value of the Application-Server AVP, of type UTF8String.
 boolean hasApplicationServer()
          Returns true if the Application-Server AVP is present in the message.
 void setApplicationProvidedCalledPartyAddress(java.lang.String applicationProvidedCalledPartyAddress)
          Sets a single Application-Provided-Called-Party-Address AVP in the message, of type UTF8String.
 void setApplicationProvidedCalledPartyAddresses(java.lang.String[] applicationProvidedCalledPartyAddresses)
          Sets the set of Application-Provided-Called-Party-Address AVPs, with all the values in the given array.
 void setApplicationServer(java.lang.String applicationServer)
          Sets the value of the Application-Server 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

getApplicationProvidedCalledPartyAddresses

java.lang.String[] getApplicationProvidedCalledPartyAddresses()
Returns the set of Application-Provided-Called-Party-Address AVPs. The returned array contains the AVPs in the order they appear in the message. A return value of null implies that no Application-Provided-Called-Party-Address AVPs have been set. The elements in the given array are String objects.


getApplicationServer

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


hasApplicationServer

boolean hasApplicationServer()
Returns true if the Application-Server AVP is present in the message.


setApplicationProvidedCalledPartyAddress

void setApplicationProvidedCalledPartyAddress(java.lang.String applicationProvidedCalledPartyAddress)
Sets a single Application-Provided-Called-Party-Address AVP in the message, of type UTF8String.


setApplicationProvidedCalledPartyAddresses

void setApplicationProvidedCalledPartyAddresses(java.lang.String[] applicationProvidedCalledPartyAddresses)
Sets the set of Application-Provided-Called-Party-Address AVPs, with all the values in the given array. The AVPs will be added to message in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getApplicationProvidedCalledPartyAddresses() is not guaranteed to return the same array instance, e.g. an "==" check would fail.


setApplicationServer

void setApplicationServer(java.lang.String applicationServer)
Sets the value of the Application-Server AVP, of type UTF8String.



Copyright © 2011. All Rights Reserved.