org.jdiameter.common.impl.app.gx
Class GxCreditControlAnswerImpl

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.gx.GxCreditControlAnswerImpl
All Implemented Interfaces:
java.io.Serializable, AppAnswerEvent, AppEvent, GxCreditControlAnswer

public class GxCreditControlAnswerImpl
extends AppAnswerEventImpl
implements GxCreditControlAnswer

Author:
Carl-Magnus Björkell , Alexandre Mendonca , Bartosz Baranowski
See Also:
Serialized Form

Field Summary
protected  org.slf4j.Logger logger
           
 
Fields inherited from class org.jdiameter.common.impl.app.AppEventImpl
message
 
Fields inherited from interface org.jdiameter.api.gx.events.GxCreditControlAnswer
_LONG_NAME, _SHORT_NAME, code
 
Constructor Summary
GxCreditControlAnswerImpl(Answer answer)
           
GxCreditControlAnswerImpl(Request request)
           
GxCreditControlAnswerImpl(Request request, long resultCode)
           
GxCreditControlAnswerImpl(Request request, long vendorId, long resultCode)
           
 
Method Summary
 int getCredidControlFailureHandlingAVPValue()
           
 int getDirectDebitingFailureHandlingAVPValue()
           
 int getRequestedActionAVPValue()
           
 int getRequestTypeAVPValue()
           
 Avp getValidityTimeAvp()
           
 boolean isCreditControlFailureHandlingAVPPresent()
           
 boolean isDirectDebitingFailureHandlingAVPPresent()
           
 boolean isRequestedActionAVPPresent()
           
 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
 

Field Detail

logger

protected org.slf4j.Logger logger
Constructor Detail

GxCreditControlAnswerImpl

public GxCreditControlAnswerImpl(Answer answer)
Parameters:
answer -

GxCreditControlAnswerImpl

public GxCreditControlAnswerImpl(Request request,
                                 long vendorId,
                                 long resultCode)
Parameters:
request -
vendorId -
resultCode -

GxCreditControlAnswerImpl

public GxCreditControlAnswerImpl(Request request,
                                 long resultCode)
Parameters:
request -
resultCode -

GxCreditControlAnswerImpl

public GxCreditControlAnswerImpl(Request request)
Parameters:
request -
Method Detail

isCreditControlFailureHandlingAVPPresent

public boolean isCreditControlFailureHandlingAVPPresent()
Specified by:
isCreditControlFailureHandlingAVPPresent in interface GxCreditControlAnswer

getCredidControlFailureHandlingAVPValue

public int getCredidControlFailureHandlingAVPValue()
Specified by:
getCredidControlFailureHandlingAVPValue in interface GxCreditControlAnswer

isDirectDebitingFailureHandlingAVPPresent

public boolean isDirectDebitingFailureHandlingAVPPresent()
Specified by:
isDirectDebitingFailureHandlingAVPPresent in interface GxCreditControlAnswer

getDirectDebitingFailureHandlingAVPValue

public int getDirectDebitingFailureHandlingAVPValue()
Specified by:
getDirectDebitingFailureHandlingAVPValue in interface GxCreditControlAnswer

getValidityTimeAvp

public Avp getValidityTimeAvp()
Specified by:
getValidityTimeAvp in interface GxCreditControlAnswer

isRequestTypeAVPPresent

public boolean isRequestTypeAVPPresent()
Specified by:
isRequestTypeAVPPresent in interface GxCreditControlAnswer

getRequestTypeAVPValue

public int getRequestTypeAVPValue()
Specified by:
getRequestTypeAVPValue in interface GxCreditControlAnswer

isRequestedActionAVPPresent

public boolean isRequestedActionAVPPresent()

getRequestedActionAVPValue

public int getRequestedActionAVPValue()


Copyright © 2014. All Rights Reserved.