|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GqAAAnswer
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 | |
|---|---|
static int |
COMMAND_CODE
|
| Method Summary | |
|---|---|
long |
getAuthApplicationId()
Returns the value of the Auth-Application-Id AVP, of type Unsigned32. |
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. |
java.lang.String |
getErrorMessage()
Returns the value of the Error-Message AVP, of type UTF8String. |
net.java.slee.resource.diameter.base.events.avp.DiameterIdentity |
getErrorReportingHost()
Returns the value of the Error-Reporting-Host AVP, of type DiameterIdentity. |
net.java.slee.resource.diameter.base.events.avp.ExperimentalResultAvp |
getExperimentalResult()
Returns the value of the Experimental-Result AVP, of type ExperimentalResultAvp. |
net.java.slee.resource.diameter.base.events.avp.FailedAvp[] |
getFailedAvps()
Returns the set of Failed-AVP AVPs. |
net.java.slee.resource.diameter.base.events.avp.ProxyInfoAvp[] |
getProxyInfos()
Returns the set of Proxy-Info AVPs. |
ReservationPriority |
getReservationPriority()
Returns the value of the Reservation-Priority AVP, of type ReservationPriority. |
long |
getResultCode()
Returns the value of the Result-Code AVP, of type Unsigned32. |
boolean |
hasAuthApplicationId()
Returns true if the Auth-Application-Id AVP is present in the message. |
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 |
hasErrorMessage()
Returns true if the Error-Message AVP is present in the message. |
boolean |
hasErrorReportingHost()
Returns true if the Error-Reporting-Host 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. |
boolean |
hasResultCode()
Returns true if the Result-Code AVP is present in the message. |
void |
setAuthApplicationId(long authApplicationId)
Sets the value of the Auth-Application-Id AVP, of type Unsigned32. |
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 |
setErrorMessage(java.lang.String errorMessage)
Sets the value of the Error-Message AVP, of type UTF8String. |
void |
setErrorReportingHost(net.java.slee.resource.diameter.base.events.avp.DiameterIdentity errorReportingHost)
Sets the value of the Error-Reporting-Host AVP, of type DiameterIdentity. |
void |
setExperimentalResult(net.java.slee.resource.diameter.base.events.avp.ExperimentalResultAvp experimentalResult)
Sets the value of the Experimental-Result AVP, of type ExperimentalResultAvp. |
void |
setFailedAvp(net.java.slee.resource.diameter.base.events.avp.FailedAvp failedAvp)
Sets a single Failed-AVP AVP in the message, of type Grouped. |
void |
setFailedAvps(net.java.slee.resource.diameter.base.events.avp.FailedAvp[] failedAvps)
Sets the set of Failed-AVP AVPs, with all the values in the given array. |
void |
setProxyInfo(net.java.slee.resource.diameter.base.events.avp.ProxyInfoAvp proxyInfo)
Sets a single Proxy-Info AVP in the message, of type Grouped. |
void |
setProxyInfos(net.java.slee.resource.diameter.base.events.avp.ProxyInfoAvp[] proxyInfos)
Sets the set of Proxy-Info AVPs, with all the values in the given array. |
void |
setReservationPriority(ReservationPriority reservationPriority)
Sets the value of the Reservation-Priority AVP, of type ReservationPriority. |
void |
setResultCode(long resultCode)
Sets the value of the Result-Code AVP, of type Unsigned32. |
| 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 |
| Field Detail |
|---|
static final int COMMAND_CODE
| Method Detail |
|---|
long getAuthApplicationId()
void setAuthApplicationId(long authApplicationId)
throws java.lang.IllegalStateException
authApplicationId -
java.lang.IllegalStateExceptionboolean hasAuthApplicationId()
boolean hasResultCode()
long getResultCode()
hasResultCode() to check the existence of this AVP.
java.lang.IllegalStateException - if the Result-Code AVP has not been set on this messagevoid setResultCode(long resultCode)
java.lang.IllegalStateException - if setResultCode has already been callednet.java.slee.resource.diameter.base.events.avp.FailedAvp[] getFailedAvps()
void setFailedAvp(net.java.slee.resource.diameter.base.events.avp.FailedAvp failedAvp)
throws java.lang.IllegalStateException
failedAvp -
java.lang.IllegalStateException
void setFailedAvps(net.java.slee.resource.diameter.base.events.avp.FailedAvp[] failedAvps)
throws java.lang.IllegalStateException
failedAvps -
java.lang.IllegalStateExceptionnet.java.slee.resource.diameter.base.events.avp.ProxyInfoAvp[] getProxyInfos()
void setProxyInfo(net.java.slee.resource.diameter.base.events.avp.ProxyInfoAvp proxyInfo)
throws java.lang.IllegalStateException
proxyInfo -
java.lang.IllegalStateException
void setProxyInfos(net.java.slee.resource.diameter.base.events.avp.ProxyInfoAvp[] proxyInfos)
throws java.lang.IllegalStateException
proxyInfos -
java.lang.IllegalStateExceptionlong getAuthorizationLifetime()
void setAuthorizationLifetime(long authorizationLifetime)
throws java.lang.IllegalStateException
authApplicationId -
java.lang.IllegalStateExceptionboolean hasAuthorizationLifetime()
boolean hasAuthGracePeriod()
long getAuthGracePeriod()
hasAuthGracePeriod() to check the existence of this AVP.
java.lang.IllegalStateException - if the Auth-Grace-Period AVP has not been set on this messagevoid setAuthGracePeriod(long authGracePeriod)
java.lang.IllegalStateException - if setAuthGracePeriod has already been calledboolean hasErrorMessage()
java.lang.String getErrorMessage()
void setErrorMessage(java.lang.String errorMessage)
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if setErrorMessage has already been calledboolean hasErrorReportingHost()
net.java.slee.resource.diameter.base.events.avp.DiameterIdentity getErrorReportingHost()
void setErrorReportingHost(net.java.slee.resource.diameter.base.events.avp.DiameterIdentity errorReportingHost)
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if setErrorReportingHost has already been calledboolean hasExperimentalResult()
net.java.slee.resource.diameter.base.events.avp.ExperimentalResultAvp getExperimentalResult()
void setExperimentalResult(net.java.slee.resource.diameter.base.events.avp.ExperimentalResultAvp experimentalResult)
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if setErrorReportingHost has already been calledboolean hasBindingInformation()
BindingInformation getBindingInformation()
void setBindingInformation(BindingInformation bindingInformation)
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if setBindingInformation has already been calledboolean hasReservationPriority()
ReservationPriority getReservationPriority()
void setReservationPriority(ReservationPriority reservationPriority)
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if setReservationPriority has already been called
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||