Package com.bea.wcp.diameter.cc
Class CCR
java.lang.Object
com.bea.wcp.diameter.Message
com.bea.wcp.diameter.Request
com.bea.wcp.diameter.cc.CCR
Diameter Credit-Control-Request. Provides validation for mandatory
Service-Context-Id, CC-Request-Type, and CC-Request-Number AVPs.
- Author:
- Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidsetCCRequestNumber(int n) voidsetCCRequestType(RequestType type) voidvoidvalidate()Validates the message by validating each message AVP.protected voidvalidateAvp(Avp avp) Methods inherited from class com.bea.wcp.diameter.Request
attemptFailover, cancel, commit, createAnswer, createAnswer, getAnswer, getApplicationId, getDestinationHost, getDestinationPeers, getDestinationRealm, getNode, getRetrySupported, getRouteDLBEnabled, getSession, isAnswered, isCommitted, isThreadWaiting, preValidate, preValidateAvp, pushProxyInfo, send, send, sendAndWait, sendAndWait, sendError, setAnswer, setApplicationId, setDestinationHost, setDestinationRealm, setIsPotentiallyRetransmitted, setRetrySupported, setSession, unsetDestinationHostMethods inherited from class com.bea.wcp.diameter.Message
addAvp, addAvp, addAvp, appendXml, decode, decodeAvps, encode, encode, extractAndSetSessionIdAvp, getAppId, getAppId, getAvp, getAvp, getAvpList, getCode, getCode, getCommand, getConnection, getEffectiveSessionId, getEndToEndId, getHopByHopId, getLength, getOriginHost, getOriginRealm, getSessionId, getVersion, isAnswer, isError, isPotentiallyRetransmitted, isProxiable, isRequest, popProxyInfo, toLoggableString, toString
-
Constructor Details
-
CCR
-
CCR
-
-
Method Details
-
validate
Description copied from class:MessageValidates 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:
validatein classMessage- Throws:
MessageException- if the message was invalid
-
validateAvp
- Overrides:
validateAvpin classMessage- Throws:
AvpException
-
setServiceContextId
-
getServiceContextId
-
setCCRequestType
-
getCCRequestType
-
setCCRequestNumber
public void setCCRequestNumber(int n) -
getCCRequestNumber
public int getCCRequestNumber()
-