Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.0

E18767-01


com.bea.wcp.diameter.cc
Class CCA

java.lang.Object
  extended by com.bea.wcp.diameter.Message
      extended by com.bea.wcp.diameter.Answer
          extended by com.bea.wcp.diameter.cc.CCA


public class CCA
extends Answer

Diameter Credit-Control-Answer message.


Field Summary

 

Fields inherited from class com.bea.wcp.diameter.Message
FLAG_ERROR, FLAG_POTENTIALLY_RETRANSMITTED, FLAG_PROXIABLE, FLAG_REQUEST, FLAGS_MASK, HEADER_SIZE, VERSION

 

Constructor Summary
CCA(java.nio.ByteBuffer bb, com.bea.wcp.diameter.transport.Connection c)
           
CCA(CCR req, ResultCode rc)
           

 

Method Summary
 int getCCRequestNumber()
           
 RequestType getCCRequestType()
           
 void validate()
          Validates the message by validating each message AVP.
protected  void validateAvp(Avp avp)
           

 

Methods inherited from class com.bea.wcp.diameter.Answer
commit, getRequest, getResultCode, getSession, isCommitted, preValidate, preValidateAvp, send, setResultCode

 

Methods inherited from class com.bea.wcp.diameter.Message
addAvp, addAvp, addAvp, appendXml, decode, decodeAvps, encode, encode, getAppId, getAvp, getAvp, getAvpList, getCode, getCode, getCommand, getConnection, getEffectiveSessionId, getEndToEndId, getHopByHopId, getLength, getOriginHost, getOriginRealm, getSessionId, getVersion, isAnswer, isError, isPotentiallyRetransmitted, isProxiable, isRequest, popProxyInfo, toLoggableString, toString

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

CCA

public CCA(java.nio.ByteBuffer bb,
           com.bea.wcp.diameter.transport.Connection c)

CCA

public CCA(CCR req,
           ResultCode rc)

Method Detail

validate

public void validate()
              throws MessageException
Description copied from class: Message
Validates the message by validating each message AVP. If any AVP values are cached as message fields they are cleared first. This supports validation of both received and originated messages.
Overrides:
validate in class Message
Throws:
MessageException - if the message was invalid

validateAvp

protected void validateAvp(Avp avp)
                    throws AvpException
Overrides:
validateAvp in class Message
Throws:
AvpException

getCCRequestType

public RequestType getCCRequestType()

getCCRequestNumber

public int getCCRequestNumber()

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.0

E18767-01


Copyright © 2005, 2010, Oracle and/or its affiliates. All rights reserved.