Package com.bea.wcp.diameter.sy
Class SySTR
java.lang.Object
com.bea.wcp.diameter.Message
com.bea.wcp.diameter.Request
com.bea.wcp.diameter.sy.SySTR
Diameter Spending-Limit-Request (SLR) message.
- 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
ConstructorsConstructorDescriptionConstructor.SySTR(ByteBuffer bb, com.bea.wcp.diameter.transport.Connection c) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionfinal intGetter.voidOverrides default implementation.final voidsetTerminationCause(int termCauseVal) voidvalidate()Validator.protected voidvalidateAvp(Avp avp) Setter.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, 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
-
SySTR
Constructor.- Parameters:
bb- Bufferc- Connection
-
SySTR
Constructor.- Parameters:
node- diameter nodeappId- application idsessionId- session id
-
-
Method Details
-
setApplicationId
Overrides default implementation. Application.createRequest(..) will try to set this, but we ignore it.- Overrides:
setApplicationIdin classRequest- Parameters:
id- App id
-
validate
Validator.- Overrides:
validatein classMessage- Throws:
MessageException
-
getTerminationCause
public final int getTerminationCause()Getter.- Returns:
- Termination-Cause value
-
setTerminationCause
public final void setTerminationCause(int termCauseVal) -
validateAvp
Setter.- Overrides:
validateAvpin classMessage- Parameters:
type- SL-Request-Type value- Throws:
AvpException
-