|
||||||||||
| 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.cca.events.CreditControlMessageImpl
org.mobicents.slee.resource.diameter.cca.events.CreditControlAnswerImpl
public class CreditControlAnswerImpl
CCA Credit-Control-Answer message implementation.
Start time:15:49:22 2008-11-11
Project: mobicents-diameter-parent
| Field Summary |
|---|
| Fields inherited from class org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl |
|---|
message |
| Fields inherited from interface net.java.slee.resource.diameter.cca.events.CreditControlMessage |
|---|
commandCode |
| Constructor Summary | |
|---|---|
CreditControlAnswerImpl(org.jdiameter.api.Message message)
Constructor. |
|
| 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. |
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. |
java.lang.String |
getLongName()
|
java.lang.String |
getShortName()
|
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 |
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 |
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 |
setValidityTime(long validityTime)
Sets the value of the Validity-Time AVP, of type Unsigned32. |
| Methods inherited from class org.mobicents.slee.resource.diameter.cca.events.CreditControlMessageImpl |
|---|
getAcctMultiSessionId, getCcRequestNumber, getCcRequestType, getCcSubSessionId, getMultipleServicesCreditControls, hasAcctMultiSessionId, hasCcRequestNumber, hasCcRequestType, hasCcSubSessionId, hasMultipleServicesCreditControl, setAcctMultiSessionId, setCcRequestNumber, setCcRequestType, setCcSubSessionId, setMultipleServicesCreditControl, setMultipleServicesCreditControls |
| 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, 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, 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.cca.events.CreditControlAnswer |
|---|
getFailedAvps, getRedirectHosts, getRedirectHostUsage, getRedirectMaxCacheTime, getResultCode, hasRedirectHostUsage, hasRedirectMaxCacheTime, hasResultCode, setFailedAvp, setFailedAvps, setRedirectHost, setRedirectHosts, setRedirectHostUsage, setRedirectMaxCacheTime, 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 CreditControlAnswerImpl(org.jdiameter.api.Message message)
message - the message to construct the Answer| Method Detail |
|---|
public 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.DiameterMessageImplpublic CcSessionFailoverType getCcSessionFailover()
CreditControlAnswer
getCcSessionFailover in interface CreditControlAnswerpublic CheckBalanceResultType getCheckBalanceResult()
CreditControlAnswer
getCheckBalanceResult in interface CreditControlAnswerpublic CostInformationAvp getCostInformation()
CreditControlAnswer
getCostInformation in interface CreditControlAnswerpublic CreditControlFailureHandlingType getCreditControlFailureHandling()
CreditControlAnswer
getCreditControlFailureHandling in interface CreditControlAnswerpublic DirectDebitingFailureHandlingType getDirectDebitingFailureHandling()
CreditControlAnswer
getDirectDebitingFailureHandling in interface CreditControlAnswerpublic FinalUnitIndicationAvp getFinalUnitIndication()
CreditControlAnswer
getFinalUnitIndication in interface CreditControlAnswerpublic GrantedServiceUnitAvp getGrantedServiceUnit()
CreditControlAnswer
getGrantedServiceUnit in interface CreditControlAnswerpublic long getValidityTime()
CreditControlAnswer
getValidityTime in interface CreditControlAnswerpublic boolean hasCcSessionFailover()
CreditControlAnswer
hasCcSessionFailover in interface CreditControlAnswerpublic boolean hasCheckBalanceResult()
CreditControlAnswer
hasCheckBalanceResult in interface CreditControlAnswerpublic boolean hasCostInformation()
CreditControlAnswer
hasCostInformation in interface CreditControlAnswerpublic boolean hasCreditControlFailureHandling()
CreditControlAnswer
hasCreditControlFailureHandling in interface CreditControlAnswerpublic boolean hasDirectDebitingFailureHandling()
CreditControlAnswer
hasDirectDebitingFailureHandling in interface CreditControlAnswerpublic boolean hasFinalUnitIndication()
CreditControlAnswer
hasFinalUnitIndication in interface CreditControlAnswerpublic boolean hasGrantedServiceUnit()
CreditControlAnswer
hasGrantedServiceUnit in interface CreditControlAnswerpublic boolean hasValidityTime()
CreditControlAnswer
hasValidityTime in interface CreditControlAnswer
public void setCcSessionFailover(CcSessionFailoverType ccSessionFailover)
throws java.lang.IllegalStateException
CreditControlAnswer
setCcSessionFailover in interface CreditControlAnswerjava.lang.IllegalStateException
public void setCheckBalanceResult(CheckBalanceResultType checkBalanceResult)
throws java.lang.IllegalStateException
CreditControlAnswer
setCheckBalanceResult in interface CreditControlAnswerjava.lang.IllegalStateException
public void setCostInformation(CostInformationAvp costInformation)
throws java.lang.IllegalStateException
CreditControlAnswer
setCostInformation in interface CreditControlAnswerjava.lang.IllegalStateException
public void setCreditControlFailureHandling(CreditControlFailureHandlingType creditControlFailureHandling)
throws java.lang.IllegalStateException
CreditControlAnswer
setCreditControlFailureHandling in interface CreditControlAnswerjava.lang.IllegalStateException
public void setDirectDebitingFailureHandling(DirectDebitingFailureHandlingType directDebitingFailureHandling)
throws java.lang.IllegalStateException
CreditControlAnswer
setDirectDebitingFailureHandling in interface CreditControlAnswerjava.lang.IllegalStateException
public void setFinalUnitIndication(FinalUnitIndicationAvp finalUnitIndication)
throws java.lang.IllegalStateException
CreditControlAnswer
setFinalUnitIndication in interface CreditControlAnswerjava.lang.IllegalStateException
public void setGrantedServiceUnit(GrantedServiceUnitAvp grantedServiceUnit)
throws java.lang.IllegalStateException
CreditControlAnswer
setGrantedServiceUnit in interface CreditControlAnswerjava.lang.IllegalStateException
public void setValidityTime(long validityTime)
throws java.lang.IllegalStateException
CreditControlAnswer
setValidityTime in interface CreditControlAnswerjava.lang.IllegalStateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||