org.mobicents.slee.resource.diameter.gq.events
Class GqReAuthAnswerImpl

java.lang.Object
  extended by org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl
      extended by org.mobicents.slee.resource.diameter.gq.events.GqReAuthAnswerImpl
All Implemented Interfaces:
java.lang.Cloneable, net.java.slee.resource.diameter.base.events.DiameterMessage, GqReAuthAnswer

public class GqReAuthAnswerImpl
extends org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl
implements GqReAuthAnswer

 7.1.4 Re-Auth-Answer(RAA) command
 The RAA command, indicated by the Command-Code field set to 258 and the "R" bit cleared in the Command Flags
 field, is sent by the AF to the SPDF in response to the RAR command.
 Message Format:
 <Re-Auth-Answer> ::= < Diameter Header: 258, PXY >
                      < Session-Id >
                      { Origin-Host }
                      { Origin-Realm }
                      [ Result-Code ]
                      [ Experimental-Result ]
                     *[ Media-Component-Description ]
                     *[ Flow-Grouping ]
                      [ Origin-State-Id ]
                      [ Error-Message ]
                      [ Error-Reporting-Host ]
                      [ Failed-AVP ]
                      [ Proxy-Info ]
                      [ AVP ]
 

Author:
Yulian Oifa

Field Summary
 
Fields inherited from class org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl
message
 
Fields inherited from interface net.java.slee.resource.diameter.gq.events.GqReAuthAnswer
COMMAND_CODE
 
Constructor Summary
GqReAuthAnswerImpl(org.jdiameter.api.Message message)
           
 
Method Summary
 net.java.slee.resource.diameter.base.events.avp.ExperimentalResultAvp getExperimentalResult()
          Returns the value of the Experimental-Result AVP, of type ExperimentalResultAvp.
 FlowGrouping[] getFlowGroupings()
          Returns the set of Flow-Grouping AVPs.
 java.lang.String getLongName()
           
 MediaComponentDescription[] getMediaComponentDescriptions()
          Returns the set of Media-Component-Description AVPs.
 java.lang.String getShortName()
           
 boolean hasExperimentalResult()
          Returns true if the Experimental-Result AVP is present in the message.
 void setExperimentalResult(net.java.slee.resource.diameter.base.events.avp.ExperimentalResultAvp experimentalResult)
          Sets the value of the Experimental-Result AVP, of type ExperimentalResultAvp.
 void setFlowGrouping(FlowGrouping flowGrouping)
          Sets a single Media-Component-Description AVP in the message, of type FlowGrouping.
 void setFlowGroupings(FlowGrouping[] flowGroupings)
          Sets the set of Media-Component-Description AVPs, with all the values in the given array.
 void setMediaComponentDescription(MediaComponentDescription mediaComponentDescription)
          Sets a single Media-Component-Description AVP in the message, of type MediaComponentDescription.
 void setMediaComponentDescriptions(MediaComponentDescription[] mediaComponentDescriptions)
          Sets the set of Media-Component-Description AVPs, with all the values in the given array.
 
Methods inherited from class org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl
addAvp, addAvp, addAvp, addAvp, clone, getAcctApplicationId, getAuthApplicationId, getAvp, getAvp, getAvp, getAvpAsAddress, getAvpAsAddress, getAvpAsCustom, getAvpAsCustom, getAvpAsDiameterIdentity, getAvpAsDiameterIdentity, getAvpAsDiameterURI, getAvpAsDiameterURI, getAvpAsEnumerated, getAvpAsEnumerated, getAvpAsFloat32, getAvpAsFloat32, getAvpAsFloat64, getAvpAsFloat64, getAvpAsGrouped, getAvpAsGrouped, getAvpAsInteger32, getAvpAsInteger32, getAvpAsInteger64, getAvpAsInteger64, getAvpAsIPFilterRule, getAvpAsIPFilterRule, getAvpAsOctetString, getAvpAsOctetString, getAvpAsRaw, getAvpAsRaw, getAvpAsTime, getAvpAsTime, getAvpAsUnsigned32, getAvpAsUnsigned32, getAvpAsUnsigned64, getAvpAsUnsigned64, getAvpAsUTF8String, getAvpAsUTF8String, getAvps, getAvpsAsAddress, getAvpsAsAddress, getAvpsAsCustom, getAvpsAsCustom, getAvpsAsDiameterIdentity, getAvpsAsDiameterIdentity, getAvpsAsDiameterURI, getAvpsAsDiameterURI, getAvpsAsEnumerated, getAvpsAsEnumerated, getAvpsAsFloat32, getAvpsAsFloat32, getAvpsAsFloat64, getAvpsAsFloat64, getAvpsAsGrouped, getAvpsAsGrouped, getAvpsAsInteger32, getAvpsAsInteger32, getAvpsAsInteger64, getAvpsAsInteger64, getAvpsAsIPFilterRule, getAvpsAsIPFilterRule, getAvpsAsOctetString, getAvpsAsOctetString, getAvpsAsRaw, getAvpsAsRaw, getAvpsAsTime, getAvpsAsTime, getAvpsAsUnsigned32, getAvpsAsUnsigned32, getAvpsAsUnsigned64, getAvpsAsUnsigned64, getAvpsAsUTF8String, getAvpsAsUTF8String, getCommand, getData, getDestinationHost, getDestinationRealm, getErrorMessage, getErrorReportingHost, getEventTimestamp, getExtensionAvps, getFailedAvp, getFailedAvps, getGenericData, getHeader, getOriginHost, getOriginRealm, getOriginStateId, getProxyInfos, getRedirectHosts, getRedirectHostUsage, getRedirectMaxCacheTime, getResultCode, getRouteRecords, getSessionId, getUserName, getVendorSpecificApplicationId, hasAcctApplicationId, hasAuthApplicationId, hasAvp, hasAvp, hasDestinationHost, hasDestinationRealm, hasErrorMessage, hasErrorReportingHost, hasEventTimestamp, hasFailedAvp, hasOriginHost, hasOriginRealm, hasOriginStateId, hasRedirectHosts, hasRedirectHostUsage, hasRedirectMaxCacheTime, hasResultCode, hasSessionId, hasUserName, hasVendorSpecificApplicationId, removeData, reportAvpFetchError, setAcctApplicationId, setAuthApplicationId, setAvpAsFloat32, setAvpAsFloat64, setAvpAsGrouped, setAvpAsInteger32, setAvpAsInteger64, setAvpAsOctetString, setAvpAsRaw, setAvpAsTime, setAvpAsUnsigned32, setAvpAsUnsigned64, setAvpAsUTF8String, setData, setDestinationHost, setDestinationRealm, setErrorMessage, setErrorReportingHost, setEventTimestamp, setExtensionAvps, setFailedAvp, setFailedAvps, setOriginHost, setOriginRealm, setOriginStateId, setProxyInfo, setProxyInfos, setRedirectHost, setRedirectHosts, setRedirectHostUsage, setRedirectMaxCacheTime, setResultCode, setRouteRecord, setRouteRecords, setSessionId, setUserName, setVendorSpecificApplicationId, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.java.slee.resource.diameter.gq.events.GqReAuthAnswer
getErrorMessage, getErrorReportingHost, getFailedAvps, getOriginStateId, getProxyInfos, getResultCode, hasErrorMessage, hasErrorReportingHost, hasOriginStateId, hasResultCode, setErrorMessage, setErrorReportingHost, setFailedAvp, setFailedAvps, setOriginStateId, setProxyInfo, setProxyInfos, setResultCode
 
Methods inherited from interface net.java.slee.resource.diameter.base.events.DiameterMessage
clone, getAvps, getCommand, getDestinationHost, getDestinationRealm, getExtensionAvps, getHeader, getOriginHost, getOriginRealm, getSessionId, hasDestinationHost, hasDestinationRealm, hasOriginHost, hasOriginRealm, hasSessionId, setDestinationHost, setDestinationRealm, setExtensionAvps, setOriginHost, setOriginRealm, setSessionId
 

Constructor Detail

GqReAuthAnswerImpl

public GqReAuthAnswerImpl(org.jdiameter.api.Message message)
Method Detail

hasExperimentalResult

public boolean hasExperimentalResult()
Description copied from interface: GqReAuthAnswer
Returns true if the Experimental-Result AVP is present in the message.

Specified by:
hasExperimentalResult in interface GqReAuthAnswer

getExperimentalResult

public net.java.slee.resource.diameter.base.events.avp.ExperimentalResultAvp getExperimentalResult()
Description copied from interface: GqReAuthAnswer
Returns the value of the Experimental-Result AVP, of type ExperimentalResultAvp.

Specified by:
getExperimentalResult in interface GqReAuthAnswer
Returns:
the value of the Experimental-Result AVP or null if it has not been set on this message

setExperimentalResult

public void setExperimentalResult(net.java.slee.resource.diameter.base.events.avp.ExperimentalResultAvp experimentalResult)
                           throws java.lang.IllegalStateException
Description copied from interface: GqReAuthAnswer
Sets the value of the Experimental-Result AVP, of type ExperimentalResultAvp.

Specified by:
setExperimentalResult in interface GqReAuthAnswer
Throws:
java.lang.IllegalStateException - if setErrorReportingHost has already been called

getMediaComponentDescriptions

public MediaComponentDescription[] getMediaComponentDescriptions()
Description copied from interface: GqReAuthAnswer
Returns the set of Media-Component-Description AVPs.

Specified by:
getMediaComponentDescriptions in interface GqReAuthAnswer
Returns:

setMediaComponentDescription

public void setMediaComponentDescription(MediaComponentDescription mediaComponentDescription)
                                  throws java.lang.IllegalStateException
Description copied from interface: GqReAuthAnswer
Sets a single Media-Component-Description AVP in the message, of type MediaComponentDescription.

Specified by:
setMediaComponentDescription in interface GqReAuthAnswer
Throws:
java.lang.IllegalStateException

setMediaComponentDescriptions

public void setMediaComponentDescriptions(MediaComponentDescription[] mediaComponentDescriptions)
                                   throws java.lang.IllegalStateException
Description copied from interface: GqReAuthAnswer
Sets the set of Media-Component-Description AVPs, with all the values in the given array.

Specified by:
setMediaComponentDescriptions in interface GqReAuthAnswer
Throws:
java.lang.IllegalStateException

getFlowGroupings

public FlowGrouping[] getFlowGroupings()
Description copied from interface: GqReAuthAnswer
Returns the set of Flow-Grouping AVPs.

Specified by:
getFlowGroupings in interface GqReAuthAnswer
Returns:

setFlowGrouping

public void setFlowGrouping(FlowGrouping flowGrouping)
                     throws java.lang.IllegalStateException
Description copied from interface: GqReAuthAnswer
Sets a single Media-Component-Description AVP in the message, of type FlowGrouping.

Specified by:
setFlowGrouping in interface GqReAuthAnswer
Throws:
java.lang.IllegalStateException

setFlowGroupings

public void setFlowGroupings(FlowGrouping[] flowGroupings)
                      throws java.lang.IllegalStateException
Description copied from interface: GqReAuthAnswer
Sets the set of Media-Component-Description AVPs, with all the values in the given array.

Specified by:
setFlowGroupings in interface GqReAuthAnswer
Throws:
java.lang.IllegalStateException

getLongName

public java.lang.String getLongName()
Specified by:
getLongName in class org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl

getShortName

public java.lang.String getShortName()
Specified by:
getShortName in class org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl


Copyright © 2012. All Rights Reserved.