public class CCR extends Request
FLAG_ERROR, FLAG_POTENTIALLY_RETRANSMITTED, FLAG_PROXIABLE, FLAG_REQUEST, FLAGS_MASK, HEADER_SIZE, VERSION
Constructor and Description |
---|
CCR(ByteBuffer bb,
com.bea.wcp.diameter.transport.Connection c) |
CCR(Node node,
int appId,
String sessionId) |
Modifier and Type | Method and Description |
---|---|
int |
getCCRequestNumber() |
RequestType |
getCCRequestType() |
String |
getServiceContextId() |
void |
setCCRequestNumber(int n) |
void |
setCCRequestType(RequestType type) |
void |
setServiceContextId(String id) |
void |
validate()
Validates the message by validating each message AVP.
|
protected void |
validateAvp(Avp avp) |
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, unsetDestinationHost
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
public CCR(ByteBuffer bb, com.bea.wcp.diameter.transport.Connection c)
public void validate() throws MessageException
Message
validate
in class Message
MessageException
- if the message was invalidprotected void validateAvp(Avp avp) throws AvpException
validateAvp
in class Message
AvpException
public void setServiceContextId(String id)
public String getServiceContextId()
public void setCCRequestType(RequestType type)
public RequestType getCCRequestType()
public void setCCRequestNumber(int n)
public int getCCRequestNumber()