|
||||||||||
| 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.GqAARequestImpl
public class GqAARequestImpl
7.1.1 AA-Request(AAR) command
The AAR command, indicated by the Command-Code field set to 265 and the "R" bit set in the Command Flags field,
is sent by an AF to the SPDF in order to request the authorization for the bearer usage for the AF session.
Message Format:
<AA-Request> ::= < Diameter Header: 265, REQ, PXY >
< Session-Id >
{ Auth-Application-Id }
{ Origin-Host }
{ Origin-Realm }
{ Destination-Realm }
*[ Media-Component-Description ]
*[ Flow-Grouping ]
[ AF-Charging-Identifier ]
[ SIP-Forking-Indication ]
*[ Specific-Action ]
[ User-Name ]
[ Binding-Information ]
[ Latching-Indication ]
[ Reservation-Priority ]
[ Globally-Unique-Address ]
[ Service-Class ]
[ Authorization-Lifetime ]
*[ Proxy-Info ]
*[ Route-Record ]
[ Overbooking-Indicator ]
*[ Authorization-Package-Id ]
*[ 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.GqAARequest |
|---|
COMMAND_CODE |
| Constructor Summary | |
|---|---|
GqAARequestImpl(org.jdiameter.api.Message message)
|
|
| Method Summary | |
|---|---|
byte[] |
getAFChargingIdentifier()
Returns the value of the AF-Charging-Identifier AVP, of type OctetString. |
long |
getAuthorizationLifetime()
Returns the value of the Authorization-Lifetime AVP, of type Unsigned32. |
java.lang.String[] |
getAuthorizationPackageIds()
Returns the set of Authorization-Package-Id AVPs. |
BindingInformation |
getBindingInformation()
Returns the Binding-Information AVP. |
FlowGrouping[] |
getFlowGroupings()
Returns the set of Flow-Grouping AVPs. |
GloballyUniqueAddress |
getGloballyUniqueAddress()
Returns the Globally-Unique-Address AVP. |
LatchingIndication |
getLatchingIndication()
Returns the Latching-Information AVP. |
java.lang.String |
getLongName()
|
MediaComponentDescription[] |
getMediaComponentDescriptions()
Returns the set of Media-Component-Description AVPs. |
OverbookingIndicator |
getOverbookingIndicator()
Returns the Overbooking-Indicator AVP. |
ReservationPriority |
getReservationPriority()
Returns the Reservation-Priority AVP. |
java.lang.String |
getServiceClass()
Returns the value of the Service-Class AVP, of type UTF8String. |
java.lang.String |
getShortName()
|
SIPForkingIndication |
getSIPForkingIndication()
Returns the value of the SIP-Forking-Indication AVP, of type SIPForkingIndication. |
SpecificAction[] |
getSpecificActions()
Returns the set of Specific-Action AVPs. |
boolean |
hasAFChargingIdentifier()
Returns true if the AF-Charging-Identifier 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 |
hasGloballyUniqueAddress()
Returns true if the Globally-Unique-Address AVP is present in the message. |
boolean |
hasLatchingIndication()
Returns true if the Latching-Indication AVP is present in the message. |
boolean |
hasOverbookingIndicator()
Returns true if the Overbooking-Indicator AVP is present in the message. |
boolean |
hasReservationPriority()
Returns true if the Reservation-Priority AVP is present in the message. |
boolean |
hasServiceClass()
Returns true if the Service-Class AVP is present in the message. |
boolean |
hasSIPForkingIndication()
Returns true if the Sip-Forking-Indication AVP is present in the message. |
void |
setAFChargingIdentifier(byte[] AFChargingIdentifier)
Sets the value of the AF-Charging-Identifier AVP, of type OctetString. |
void |
setAuthorizationLifetime(long authorizationLifetime)
Sets the value of the Authorization-Lifetime AVP, of type Unsigned32. |
void |
setAuthorizationPackageId(java.lang.String authorizationPackageId)
Sets a single Authorization-Package-Id AVP in the message, of type UTF8String. |
void |
setAuthorizationPackageIds(java.lang.String[] authorizationPackageIds)
Sets the set of Authorization-Package-Id AVPs, with all the values in the given array. |
void |
setBindingInformation(BindingInformation bindingInformation)
Sets a Binding-Information AVP in the message, of type BindingInformation. |
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 |
setGloballyUniqueAddress(GloballyUniqueAddress globallyUniqueAddress)
Sets a Globally-Unique-Address AVP in the message, of type GloballyUniqueAddress. |
void |
setLatchingIndication(LatchingIndication latchingIndication)
Sets a Latching-Indication AVP in the message, of type BindingInformation. |
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. |
void |
setOverbookingIndicator(OverbookingIndicator overbookingIndicator)
Sets a Overbooking-Indicator AVP in the message, of type OverbookingIndicator. |
void |
setReservationPriority(ReservationPriority reservationPriority)
Sets a Reservation-Priority AVP in the message, of type ReservationPriority. |
void |
setServiceClass(java.lang.String serviceClass)
Sets the value of the Service-Class AVP, of type UTF8String. |
void |
setSIPForkingIndication(SIPForkingIndication SIPForkingIndication)
Sets the value of the SIP-Forking-Indication AVP, of type SIPForkingIndication. |
void |
setSpecificAction(SpecificAction specificAction)
Sets a single Specific-Action AVP in the message, of type SpecificAction. |
void |
setSpecificActions(SpecificAction[] specificActions)
Sets the set of Specific-Action 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.GqAARequest |
|---|
getAuthApplicationId, getProxyInfos, getRouteRecords, getUserName, hasAuthApplicationId, hasUserName, setAuthApplicationId, setProxyInfo, setProxyInfos, setRouteRecord, setRouteRecords, setUserName |
| 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 GqAARequestImpl(org.jdiameter.api.Message message)
| Method Detail |
|---|
public long getAuthorizationLifetime()
GqAARequest
getAuthorizationLifetime in interface GqAARequest
public void setAuthorizationLifetime(long authorizationLifetime)
throws java.lang.IllegalStateException
GqAARequest
setAuthorizationLifetime in interface GqAARequestjava.lang.IllegalStateExceptionpublic boolean hasAuthorizationLifetime()
GqAARequest
hasAuthorizationLifetime in interface GqAARequestpublic MediaComponentDescription[] getMediaComponentDescriptions()
GqAARequest
getMediaComponentDescriptions in interface GqAARequest
public void setMediaComponentDescription(MediaComponentDescription mediaComponentDescription)
throws java.lang.IllegalStateException
GqAARequest
setMediaComponentDescription in interface GqAARequestjava.lang.IllegalStateException
public void setMediaComponentDescriptions(MediaComponentDescription[] mediaComponentDescriptions)
throws java.lang.IllegalStateException
GqAARequest
setMediaComponentDescriptions in interface GqAARequestjava.lang.IllegalStateExceptionpublic FlowGrouping[] getFlowGroupings()
GqAARequest
getFlowGroupings in interface GqAARequest
public void setFlowGrouping(FlowGrouping flowGrouping)
throws java.lang.IllegalStateException
GqAARequest
setFlowGrouping in interface GqAARequestjava.lang.IllegalStateException
public void setFlowGroupings(FlowGrouping[] flowGroupings)
throws java.lang.IllegalStateException
GqAARequest
setFlowGroupings in interface GqAARequestjava.lang.IllegalStateExceptionpublic byte[] getAFChargingIdentifier()
GqAARequest
getAFChargingIdentifier in interface GqAARequestpublic void setAFChargingIdentifier(byte[] AFChargingIdentifier)
GqAARequest
setAFChargingIdentifier in interface GqAARequestpublic boolean hasAFChargingIdentifier()
GqAARequest
hasAFChargingIdentifier in interface GqAARequestpublic SIPForkingIndication getSIPForkingIndication()
GqAARequest
getSIPForkingIndication in interface GqAARequestpublic void setSIPForkingIndication(SIPForkingIndication SIPForkingIndication)
GqAARequest
setSIPForkingIndication in interface GqAARequestpublic boolean hasSIPForkingIndication()
GqAARequest
hasSIPForkingIndication in interface GqAARequestpublic SpecificAction[] getSpecificActions()
GqAARequest
getSpecificActions in interface GqAARequest
public void setSpecificAction(SpecificAction specificAction)
throws java.lang.IllegalStateException
GqAARequest
setSpecificAction in interface GqAARequestjava.lang.IllegalStateException
public void setSpecificActions(SpecificAction[] specificActions)
throws java.lang.IllegalStateException
GqAARequest
setSpecificActions in interface GqAARequestjava.lang.IllegalStateExceptionpublic BindingInformation getBindingInformation()
GqAARequest
getBindingInformation in interface GqAARequest
public void setBindingInformation(BindingInformation bindingInformation)
throws java.lang.IllegalStateException
GqAARequest
setBindingInformation in interface GqAARequestjava.lang.IllegalStateExceptionpublic boolean hasBindingInformation()
GqAARequest
hasBindingInformation in interface GqAARequestpublic LatchingIndication getLatchingIndication()
GqAARequest
getLatchingIndication in interface GqAARequest
public void setLatchingIndication(LatchingIndication latchingIndication)
throws java.lang.IllegalStateException
GqAARequest
setLatchingIndication in interface GqAARequestjava.lang.IllegalStateExceptionpublic boolean hasLatchingIndication()
GqAARequest
hasLatchingIndication in interface GqAARequestpublic ReservationPriority getReservationPriority()
GqAARequest
getReservationPriority in interface GqAARequest
public void setReservationPriority(ReservationPriority reservationPriority)
throws java.lang.IllegalStateException
GqAARequest
setReservationPriority in interface GqAARequestjava.lang.IllegalStateExceptionpublic boolean hasReservationPriority()
GqAARequest
hasReservationPriority in interface GqAARequestpublic GloballyUniqueAddress getGloballyUniqueAddress()
GqAARequest
getGloballyUniqueAddress in interface GqAARequest
public void setGloballyUniqueAddress(GloballyUniqueAddress globallyUniqueAddress)
throws java.lang.IllegalStateException
GqAARequest
setGloballyUniqueAddress in interface GqAARequestjava.lang.IllegalStateExceptionpublic boolean hasGloballyUniqueAddress()
GqAARequest
hasGloballyUniqueAddress in interface GqAARequestpublic boolean hasServiceClass()
GqAARequest
hasServiceClass in interface GqAARequestpublic java.lang.String getServiceClass()
GqAARequest
getServiceClass in interface GqAARequestpublic void setServiceClass(java.lang.String serviceClass)
GqAARequest
setServiceClass in interface GqAARequestpublic OverbookingIndicator getOverbookingIndicator()
GqAARequest
getOverbookingIndicator in interface GqAARequest
public void setOverbookingIndicator(OverbookingIndicator overbookingIndicator)
throws java.lang.IllegalStateException
GqAARequest
setOverbookingIndicator in interface GqAARequestjava.lang.IllegalStateExceptionpublic boolean hasOverbookingIndicator()
GqAARequest
hasOverbookingIndicator in interface GqAARequestpublic java.lang.String[] getAuthorizationPackageIds()
GqAARequest
getAuthorizationPackageIds in interface GqAARequest
public void setAuthorizationPackageId(java.lang.String authorizationPackageId)
throws java.lang.IllegalStateException
GqAARequest
setAuthorizationPackageId in interface GqAARequestjava.lang.IllegalStateException
public void setAuthorizationPackageIds(java.lang.String[] authorizationPackageIds)
throws java.lang.IllegalStateException
GqAARequest
setAuthorizationPackageIds in interface GqAARequestjava.lang.IllegalStateExceptionpublic 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 | |||||||||