|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl
org.mobicents.slee.resource.diameter.gq.events.GqAAAnswerImpl
public class GqAAAnswerImpl
7.1.2 AA-Answer(AAA) command
The AAA command, indicated by the Command-Code field set to 265 and the "R" bit cleared in the Command Flags
field, is sent by the SPDF to the AF in response to the AAR command.
Message Format:
<AA-Answer> ::= < Diameter Header: 265, PXY >
< Session-Id >
{ Auth-Application-Id }
{ Origin-Host }
{ Origin-Realm }
[ Result-Code ]
[ Experimental-Result ]
[ Binding-Information ]
[ Reservation-Priority ]
[ Error-Message ]
[ Error-Reporting-Host ]
[ Authorization-Lifetime ]
[ Auth-Grace-Period ]
[ Failed-AVP ]
[ Proxy-Info ]
[ AVP ]
| 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.GqAAAnswer |
|---|
COMMAND_CODE |
| Constructor Summary | |
|---|---|
GqAAAnswerImpl(org.jdiameter.api.Message message)
|
|
| Method Summary | |
|---|---|
long |
getAuthGracePeriod()
Returns the value of the Auth-Grace-Period AVP, of type Unsigned32. |
long |
getAuthorizationLifetime()
Returns the value of the Authorization-Lifetime AVP, of type Unsigned32. |
BindingInformation |
getBindingInformation()
Returns the value of the Binding-Information AVP, of type BindingInformation. |
net.java.slee.resource.diameter.base.events.avp.ExperimentalResultAvp |
getExperimentalResult()
Returns the value of the Experimental-Result AVP, of type ExperimentalResultAvp. |
java.lang.String |
getLongName()
|
ReservationPriority |
getReservationPriority()
Returns the value of the Reservation-Priority AVP, of type ReservationPriority. |
java.lang.String |
getShortName()
|
boolean |
hasAuthGracePeriod()
Returns true if the Auth-Grace-Period AVP is present in the message. |
boolean |
hasAuthorizationLifetime()
Returns true if the Authorization-Lifetime AVP is present in the message. |
boolean |
hasBindingInformation()
Returns true if the Binding-Information AVP is present in the message. |
boolean |
hasExperimentalResult()
Returns true if the Experimental-Result AVP is present in the message. |
boolean |
hasReservationPriority()
Returns true if the Reservation-Priority AVP is present in the message. |
void |
setAuthGracePeriod(long authGracePeriod)
Sets the value of the Auth-Grace-Period AVP, of type Unsigned32. |
void |
setAuthorizationLifetime(long authorizationLifetime)
Sets the value of the Authorization-Lifetime AVP, of type Unsigned32. |
void |
setBindingInformation(BindingInformation bindingInformation)
Sets the value of the Binding-Information AVP, of type BindingInformation. |
void |
setExperimentalResult(net.java.slee.resource.diameter.base.events.avp.ExperimentalResultAvp experimentalResult)
Sets the value of the Experimental-Result AVP, of type ExperimentalResultAvp. |
void |
setReservationPriority(ReservationPriority reservationPriority)
Sets the value of the Reservation-Priority AVP, of type ReservationPriority. |
| 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.GqAAAnswer |
|---|
getAuthApplicationId, getErrorMessage, getErrorReportingHost, getFailedAvps, getProxyInfos, getResultCode, hasAuthApplicationId, hasErrorMessage, hasErrorReportingHost, hasResultCode, setAuthApplicationId, setErrorMessage, setErrorReportingHost, setFailedAvp, setFailedAvps, 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 |
|---|
public GqAAAnswerImpl(org.jdiameter.api.Message message)
| Method Detail |
|---|
public long getAuthorizationLifetime()
GqAAAnswer
getAuthorizationLifetime in interface GqAAAnswer
public void setAuthorizationLifetime(long authorizationLifetime)
throws java.lang.IllegalStateException
GqAAAnswer
setAuthorizationLifetime in interface GqAAAnswerjava.lang.IllegalStateExceptionpublic boolean hasAuthorizationLifetime()
GqAAAnswer
hasAuthorizationLifetime in interface GqAAAnswerpublic boolean hasAuthGracePeriod()
GqAAAnswer
hasAuthGracePeriod in interface GqAAAnswerpublic long getAuthGracePeriod()
GqAAAnswerGqAAAnswer.hasAuthGracePeriod() to check the existence of this AVP.
getAuthGracePeriod in interface GqAAAnswerpublic void setAuthGracePeriod(long authGracePeriod)
GqAAAnswer
setAuthGracePeriod in interface GqAAAnswerpublic boolean hasExperimentalResult()
GqAAAnswer
hasExperimentalResult in interface GqAAAnswerpublic net.java.slee.resource.diameter.base.events.avp.ExperimentalResultAvp getExperimentalResult()
GqAAAnswer
getExperimentalResult in interface GqAAAnswer
public void setExperimentalResult(net.java.slee.resource.diameter.base.events.avp.ExperimentalResultAvp experimentalResult)
throws java.lang.IllegalStateException
GqAAAnswer
setExperimentalResult in interface GqAAAnswerjava.lang.IllegalStateException - if setErrorReportingHost has already been calledpublic boolean hasBindingInformation()
GqAAAnswer
hasBindingInformation in interface GqAAAnswerpublic BindingInformation getBindingInformation()
GqAAAnswer
getBindingInformation in interface GqAAAnswer
public void setBindingInformation(BindingInformation bindingInformation)
throws java.lang.IllegalStateException
GqAAAnswer
setBindingInformation in interface GqAAAnswerjava.lang.IllegalStateException - if setBindingInformation has already been calledpublic boolean hasReservationPriority()
GqAAAnswer
hasReservationPriority in interface GqAAAnswerpublic ReservationPriority getReservationPriority()
GqAAAnswer
getReservationPriority in interface GqAAAnswer
public void setReservationPriority(ReservationPriority reservationPriority)
throws java.lang.IllegalStateException
GqAAAnswer
setReservationPriority in interface GqAAAnswerjava.lang.IllegalStateException - if setReservationPriority has already been calledpublic java.lang.String getLongName()
getLongName in class org.mobicents.slee.resource.diameter.base.events.DiameterMessageImplpublic java.lang.String getShortName()
getShortName in class org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||