|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RoCreditControlAnswer
Interface defining RoCreditControlAnswer message. It has following structure:
::= < Diameter Header: 272, PXY >
< Session-Id >
{ Result-Code }
{ Origin-Host }
{ Origin-Realm }
{ Auth-Application-Id }
{ CC-Request-Type }
{ CC-Request-Number }
[ CC-Session-Failover ]
*[ Multiple-Services-Credit-Control ]
[ Cost-Information]
[ Credit-Control-Failure-Handling ]
*[ Redirect-Host]
[ Redirect-Host-Usage ]
[ Redirect-Max-Cache-Time ]
*[ Proxy-Info ]
*[ Route-Record ]
*[ Failed-AVP ]
[ Service-Information ]
*[ AVP ]
| Method Summary | |
|---|---|
net.java.slee.resource.diameter.cca.events.avp.CcSessionFailoverType |
getCcSessionFailover()
Returns the value of the CC-Session-Failover AVP, of type Enumerated. |
net.java.slee.resource.diameter.cca.events.avp.CostInformationAvp |
getCostInformation()
Returns the value of the Cost-Information AVP, of type Grouped. |
net.java.slee.resource.diameter.cca.events.avp.CreditControlFailureHandlingType |
getCreditControlFailureHandling()
Returns the value of the Credit-Control-Failure-Handling AVP, of type Enumerated. |
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.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. |
boolean |
hasCcSessionFailover()
Returns true if the CC-Session-Failover 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 |
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. |
void |
setCcSessionFailover(net.java.slee.resource.diameter.cca.events.avp.CcSessionFailoverType ccSessionFailover)
Sets the value of the CC-Session-Failover AVP, of type Enumerated. |
void |
setCostInformation(net.java.slee.resource.diameter.cca.events.avp.CostInformationAvp costInformation)
Sets the value of the Cost-Information AVP, of type Grouped. |
void |
setCreditControlFailureHandling(net.java.slee.resource.diameter.cca.events.avp.CreditControlFailureHandlingType creditControlFailureHandling)
Sets the value of the Credit-Control-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 |
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. |
| Methods inherited from interface net.java.slee.resource.diameter.ro.events.RoCreditControlMessage |
|---|
getAuthApplicationId, getCcRequestNumber, getCcRequestType, getMultipleServicesCreditControls, getProxyInfos, getRouteRecords, getServiceInformation, hasAuthApplicationId, hasCcRequestNumber, hasCcRequestType, hasMultipleServicesCreditControl, hasServiceInformation, setAuthApplicationId, setCcRequestNumber, setCcRequestType, setMultipleServicesCreditControl, setMultipleServicesCreditControls, setProxyInfo, setProxyInfos, setRouteRecord, setRouteRecords, setServiceInformation |
| 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 |
|---|
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.cca.events.avp.CcSessionFailoverType getCcSessionFailover()
void setCcSessionFailover(net.java.slee.resource.diameter.cca.events.avp.CcSessionFailoverType ccSessionFailover)
throws java.lang.IllegalStateException
ccSessionFailover -
java.lang.IllegalStateExceptionboolean hasCcSessionFailover()
net.java.slee.resource.diameter.cca.events.avp.CostInformationAvp getCostInformation()
void setCostInformation(net.java.slee.resource.diameter.cca.events.avp.CostInformationAvp costInformation)
throws java.lang.IllegalStateException
costInformation -
java.lang.IllegalStateExceptionboolean hasCostInformation()
net.java.slee.resource.diameter.cca.events.avp.CreditControlFailureHandlingType getCreditControlFailureHandling()
void setCreditControlFailureHandling(net.java.slee.resource.diameter.cca.events.avp.CreditControlFailureHandlingType creditControlFailureHandling)
throws java.lang.IllegalStateException
creditControlFailureHandling -
java.lang.IllegalStateExceptionboolean hasCreditControlFailureHandling()
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()
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.IllegalStateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||