|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CreditControlAnswer
3.2. Credit-Control-Answer (CCA) Command
The Credit-Control-Answer message (CCA) is indicated by the command-
code field being set to 272 and the íRí bit being cleared in the
Command Flags field. It is used between the credit-control server
and the Diameter credit-control client to acknowledge a Credit-
Control-Request command.
Message Format
::= < Diameter Header: 272, PXY >
< Session-Id >
{ Result-Code }
{ Origin-Host }
{ Origin-Realm }
{ Auth-Application-Id }
{ CC-Request-Type }
{ CC-Request-Number }
[ User-Name ]
[ CC-Session-Failover ]
[ CC-Sub-Session-Id ]
[ Acct-Multi-Session-Id ]
[ Origin-State-Id ]
[ Event-Timestamp ]
[ Granted-Service-Unit ]
*[ Multiple-Services-Credit-Control ]
[ Cost-Information]
[ Final-Unit-Indication ]
[ Check-Balance-Result ]
[ Credit-Control-Failure-Handling ]
[ Direct-Debiting-Failure-Handling ]
[ Validity-Time]
*[ Redirect-Host]
[ Redirect-Host-Usage ]
[ Redirect-Max-Cache-Time ]
*[ Proxy-Info ]
*[ Route-Record ]
*[ Failed-AVP ]
*[ AVP ]
| Field Summary |
|---|
| Fields inherited from interface net.java.slee.resource.diameter.cca.events.CreditControlMessage |
|---|
commandCode |
| Method Summary | |
|---|---|
CcSessionFailoverType |
getCcSessionFailover()
Returns the value of the CC-Session-Failover AVP, of type Enumerated. |
CheckBalanceResultType |
getCheckBalanceResult()
Returns the value of the Check-Balance-Result AVP, of type Enumerated. |
CostInformationAvp |
getCostInformation()
Returns the value of the Cost-Information AVP, of type Grouped. |
CreditControlFailureHandlingType |
getCreditControlFailureHandling()
Returns the value of the Credit-Control-Failure-Handling AVP, of type Enumerated. |
DirectDebitingFailureHandlingType |
getDirectDebitingFailureHandling()
Returns the value of the Direct-Debiting-Failure-Handling AVP, of type Enumerated. |
net.java.slee.resource.diameter.base.events.avp.FailedAvp[] |
getFailedAvps()
Returns the set of Failed-AVP AVPs. |
FinalUnitIndicationAvp |
getFinalUnitIndication()
Returns the value of the Final-Unit-Indication AVP, of type Grouped. |
GrantedServiceUnitAvp |
getGrantedServiceUnit()
Returns the value of the Granted-Service-Unit AVP, of type Grouped. |
net.java.slee.resource.diameter.base.events.avp.DiameterURI[] |
getRedirectHosts()
Returns the set of Redirect-Host AVPs. |
net.java.slee.resource.diameter.base.events.avp.RedirectHostUsageType |
getRedirectHostUsage()
Returns the value of the Redirect-Host-Usage AVP, of type Enumerated. |
long |
getRedirectMaxCacheTime()
Returns the value of the Redirect-Max-Cache-Time AVP, of type Unsigned32. |
long |
getResultCode()
Returns the value of the Result-Code AVP, of type Unsigned32. |
long |
getValidityTime()
Returns the value of the Validity-Time AVP, of type Unsigned32. |
boolean |
hasCcSessionFailover()
Returns true if the CC-Session-Failover AVP is present in the message. |
boolean |
hasCheckBalanceResult()
Returns true if the Check-Balance-Result AVP is present in the message. |
boolean |
hasCostInformation()
Returns true if the Cost-Information AVP is present in the message. |
boolean |
hasCreditControlFailureHandling()
Returns true if the Credit-Control-Failure-Handling AVP is present in the message. |
boolean |
hasDirectDebitingFailureHandling()
Returns true if the Direct-Debiting-Failure-Handling AVP is present in the message. |
boolean |
hasFinalUnitIndication()
Returns true if the Final-Unit-Indication AVP is present in the message. |
boolean |
hasGrantedServiceUnit()
Returns true if the Granted-Service-Unit AVP is present in the message. |
boolean |
hasRedirectHostUsage()
Returns true if the Redirect-Host-Usage AVP is present in the message. |
boolean |
hasRedirectMaxCacheTime()
Returns true if the Redirect-Max-Cache-Time AVP is present in the message. |
boolean |
hasResultCode()
Returns true if the Result-Code AVP is present in the message. |
boolean |
hasValidityTime()
Returns true if the Validity-Time AVP is present in the message. |
void |
setCcSessionFailover(CcSessionFailoverType ccSessionFailover)
Sets the value of the CC-Session-Failover AVP, of type Enumerated. |
void |
setCheckBalanceResult(CheckBalanceResultType checkBalanceResult)
Sets the value of the Check-Balance-Result AVP, of type Enumerated. |
void |
setCostInformation(CostInformationAvp costInformation)
Sets the value of the Cost-Information AVP, of type Grouped. |
void |
setCreditControlFailureHandling(CreditControlFailureHandlingType creditControlFailureHandling)
Sets the value of the Credit-Control-Failure-Handling AVP, of type Enumerated. |
void |
setDirectDebitingFailureHandling(DirectDebitingFailureHandlingType directDebitingFailureHandling)
Sets the value of the Direct-Debiting-Failure-Handling AVP, of type Enumerated. |
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 |
setFinalUnitIndication(FinalUnitIndicationAvp finalUnitIndication)
Sets the value of the Final-Unit-Indication AVP, of type Grouped. |
void |
setGrantedServiceUnit(GrantedServiceUnitAvp grantedServiceUnit)
Sets the value of the Granted-Service-Unit AVP, of type Grouped. |
void |
setRedirectHost(net.java.slee.resource.diameter.base.events.avp.DiameterURI redirectHost)
Sets a single Redirect-Host AVP in the message, of type DiameterURI. |
void |
setRedirectHosts(net.java.slee.resource.diameter.base.events.avp.DiameterURI[] redirectHosts)
Sets the set of Redirect-Host AVPs, with all the values in the given array. |
void |
setRedirectHostUsage(net.java.slee.resource.diameter.base.events.avp.RedirectHostUsageType redirectHostUsage)
Sets the value of the Redirect-Host-Usage AVP, of type Enumerated. |
void |
setRedirectMaxCacheTime(long redirectMaxCacheTime)
Sets the value of the Redirect-Max-Cache-Time AVP, of type Unsigned32. |
void |
setResultCode(long resultCode)
Sets the value of the Result-Code AVP, of type Unsigned32. |
void |
setValidityTime(long validityTime)
Sets the value of the Validity-Time 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 |
| Method Detail |
|---|
CcSessionFailoverType getCcSessionFailover()
void setCcSessionFailover(CcSessionFailoverType ccSessionFailover)
throws java.lang.IllegalStateException
ccSessionFailover -
java.lang.IllegalStateExceptionboolean hasCcSessionFailover()
CheckBalanceResultType getCheckBalanceResult()
void setCheckBalanceResult(CheckBalanceResultType checkBalanceResult)
throws java.lang.IllegalStateException
checkBalanceResult -
java.lang.IllegalStateExceptionboolean hasCheckBalanceResult()
CostInformationAvp getCostInformation()
void setCostInformation(CostInformationAvp costInformation)
throws java.lang.IllegalStateException
costInformation -
java.lang.IllegalStateExceptionboolean hasCostInformation()
CreditControlFailureHandlingType getCreditControlFailureHandling()
void setCreditControlFailureHandling(CreditControlFailureHandlingType creditControlFailureHandling)
throws java.lang.IllegalStateException
creditControlFailureHandling -
java.lang.IllegalStateExceptionboolean hasCreditControlFailureHandling()
DirectDebitingFailureHandlingType getDirectDebitingFailureHandling()
void setDirectDebitingFailureHandling(DirectDebitingFailureHandlingType directDebitingFailureHandling)
throws java.lang.IllegalStateException
directDebitingFailureHandling -
java.lang.IllegalStateExceptionboolean hasDirectDebitingFailureHandling()
net.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.IllegalStateExceptionFinalUnitIndicationAvp getFinalUnitIndication()
void setFinalUnitIndication(FinalUnitIndicationAvp finalUnitIndication)
throws java.lang.IllegalStateException
finalUnitIndication -
java.lang.IllegalStateExceptionboolean hasFinalUnitIndication()
GrantedServiceUnitAvp getGrantedServiceUnit()
void setGrantedServiceUnit(GrantedServiceUnitAvp grantedServiceUnit)
throws java.lang.IllegalStateException
grantedServiceUnit -
java.lang.IllegalStateExceptionboolean hasGrantedServiceUnit()
net.java.slee.resource.diameter.base.events.avp.DiameterURI[] getRedirectHosts()
void setRedirectHost(net.java.slee.resource.diameter.base.events.avp.DiameterURI redirectHost)
throws java.lang.IllegalStateException
redirectHost -
java.lang.IllegalStateException
void setRedirectHosts(net.java.slee.resource.diameter.base.events.avp.DiameterURI[] redirectHosts)
throws java.lang.IllegalStateException
redirectHosts -
java.lang.IllegalStateExceptionnet.java.slee.resource.diameter.base.events.avp.RedirectHostUsageType getRedirectHostUsage()
void setRedirectHostUsage(net.java.slee.resource.diameter.base.events.avp.RedirectHostUsageType redirectHostUsage)
throws java.lang.IllegalStateException
redirectHostUsage -
java.lang.IllegalStateExceptionboolean hasRedirectHostUsage()
long getRedirectMaxCacheTime()
void setRedirectMaxCacheTime(long redirectMaxCacheTime)
throws java.lang.IllegalStateException
redirectMaxCacheTime -
java.lang.IllegalStateExceptionboolean hasRedirectMaxCacheTime()
long getResultCode()
void setResultCode(long resultCode)
throws java.lang.IllegalStateException
resultCode -
java.lang.IllegalStateExceptionboolean hasResultCode()
long getValidityTime()
void setValidityTime(long validityTime)
throws java.lang.IllegalStateException
validityTime -
java.lang.IllegalStateExceptionboolean hasValidityTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||