org.jdiameter.common.impl.app.cca
Class JCreditControlAnswerImpl

java.lang.Object
  extended by org.jdiameter.common.impl.app.AppEventImpl
      extended by org.jdiameter.common.impl.app.AppAnswerEventImpl
          extended by org.jdiameter.common.impl.app.cca.JCreditControlAnswerImpl
All Implemented Interfaces:
java.io.Serializable, org.jdiameter.api.app.AppAnswerEvent, org.jdiameter.api.app.AppEvent, org.jdiameter.api.cca.events.JCreditControlAnswer

public class JCreditControlAnswerImpl
extends AppAnswerEventImpl
implements org.jdiameter.api.cca.events.JCreditControlAnswer

JCreditControlAnswerImpl.java
Super project: mobicents
5:04:44 PM Dec 2, 2008

Author:
Bartosz Baranowski , Alexandre Mendonca , Erick Svenson
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jdiameter.common.impl.app.AppEventImpl
message
 
Fields inherited from interface org.jdiameter.api.cca.events.JCreditControlAnswer
_LONG_NAME, _SHORT_NAME, code
 
Constructor Summary
JCreditControlAnswerImpl(org.jdiameter.api.Answer message)
           
JCreditControlAnswerImpl(org.jdiameter.api.Request message, long resultCode)
           
 
Method Summary
 int getCredidControlFailureHandlingAVPValue()
           
 int getDirectDebitingFailureHandlingAVPValue()
           
 int getRequestedActionAVPValue()
           
 int getRequestTypeAVPValue()
           
 org.jdiameter.api.Avp getValidityTimeAvp()
           
 boolean isCreditControlFailureHandlingAVPPresent()
           
 boolean isDirectDebitingFailureHandlingAVPPresent()
           
 boolean isRequestActionAVPPresent()
           
 boolean isRequestTypeAVPPresent()
           
 
Methods inherited from class org.jdiameter.common.impl.app.AppAnswerEventImpl
getResultCodeAvp
 
Methods inherited from class org.jdiameter.common.impl.app.AppEventImpl
equals, getCommandCode, getMessage, getOriginHost, getOriginRealm, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jdiameter.api.app.AppAnswerEvent
getResultCodeAvp
 
Methods inherited from interface org.jdiameter.api.app.AppEvent
getCommandCode, getMessage, getOriginHost, getOriginRealm
 

Constructor Detail

JCreditControlAnswerImpl

public JCreditControlAnswerImpl(org.jdiameter.api.Request message,
                                long resultCode)

JCreditControlAnswerImpl

public JCreditControlAnswerImpl(org.jdiameter.api.Answer message)
Method Detail

getCredidControlFailureHandlingAVPValue

public int getCredidControlFailureHandlingAVPValue()
Specified by:
getCredidControlFailureHandlingAVPValue in interface org.jdiameter.api.cca.events.JCreditControlAnswer

getDirectDebitingFailureHandlingAVPValue

public int getDirectDebitingFailureHandlingAVPValue()
Specified by:
getDirectDebitingFailureHandlingAVPValue in interface org.jdiameter.api.cca.events.JCreditControlAnswer

isCreditControlFailureHandlingAVPPresent

public boolean isCreditControlFailureHandlingAVPPresent()
Specified by:
isCreditControlFailureHandlingAVPPresent in interface org.jdiameter.api.cca.events.JCreditControlAnswer

isDirectDebitingFailureHandlingAVPPresent

public boolean isDirectDebitingFailureHandlingAVPPresent()
Specified by:
isDirectDebitingFailureHandlingAVPPresent in interface org.jdiameter.api.cca.events.JCreditControlAnswer

getRequestedActionAVPValue

public int getRequestedActionAVPValue()

isRequestActionAVPPresent

public boolean isRequestActionAVPPresent()

getRequestTypeAVPValue

public int getRequestTypeAVPValue()
Specified by:
getRequestTypeAVPValue in interface org.jdiameter.api.cca.events.JCreditControlAnswer

getValidityTimeAvp

public org.jdiameter.api.Avp getValidityTimeAvp()
Specified by:
getValidityTimeAvp in interface org.jdiameter.api.cca.events.JCreditControlAnswer

isRequestTypeAVPPresent

public boolean isRequestTypeAVPPresent()
Specified by:
isRequestTypeAVPPresent in interface org.jdiameter.api.cca.events.JCreditControlAnswer


Copyright © 2009. All Rights Reserved.