public interface CreditControlMessage extends DiameterMessage
Modifier and Type | Method and Description |
---|---|
long |
getAuthApplicationId()
Returns the value of the Auth-Application-Id AVP, of type Unsigned32.
|
long |
getCcRequestNumber()
Returns the value of the CC-Request-Number AVP, of type Unsigned32.
|
CcRequestType |
getCcRequestType()
Returns the value of the CC-Request-Type AVP, of type Enumerated.
|
DiameterIdentity |
getOriginHost()
Returns the value of the Origin-Host AVP, of type DiameterIdentity.
|
DiameterIdentity |
getOriginRealm()
Returns the value of the Origin-Realm AVP, of type DiameterIdentity.
|
ProxyInfo[] |
getProxyInfos()
Returns the set of Proxy-Info AVPs.
|
DiameterIdentity[] |
getRouteRecords()
Returns the set of Route-Record AVPs.
|
java.lang.String |
getSessionId()
Returns the value of the Session-Id AVP, of type UTF8String.
|
boolean |
hasAuthApplicationId()
Returns true if the Auth-Application-Id AVP is present in the message.
|
boolean |
hasCcRequestNumber()
Returns true if the CC-Request-Number AVP is present in the message.
|
boolean |
hasCcRequestType()
Returns true if the CC-Request-Type AVP is present in the message.
|
boolean |
hasOriginHost()
Returns true if the Origin-Host AVP is present in the message.
|
boolean |
hasOriginRealm()
Returns true if the Origin-Realm AVP is present in the message.
|
boolean |
hasSessionId()
Returns true if the Session-Id AVP is present in the message.
|
void |
setAuthApplicationId(long authApplicationId)
Sets the value of the Auth-Application-Id AVP, of type Unsigned32.
|
void |
setCcRequestNumber(long ccRequestNumber)
Sets the value of the CC-Request-Number AVP, of type Unsigned32.
|
void |
setCcRequestType(CcRequestType ccRequestType)
Sets the value of the CC-Request-Type AVP, of type Enumerated.
|
void |
setOriginHost(DiameterIdentity originHost)
Sets the value of the Origin-Host AVP, of type DiameterIdentity.
|
void |
setOriginRealm(DiameterIdentity originRealm)
Sets the value of the Origin-Realm AVP, of type DiameterIdentity.
|
void |
setProxyInfo(ProxyInfo proxyInfo)
Sets a single Proxy-Info AVP in the message, of type Grouped.
|
void |
setProxyInfos(ProxyInfo[] proxyInfos)
Sets the set of Proxy-Info AVPs, with all the values in the given array.
|
void |
setRouteRecord(DiameterIdentity routeRecord)
Sets a single Route-Record AVP in the message, of type DiameterIdentity.
|
void |
setRouteRecords(DiameterIdentity[] routeRecords)
Sets the set of Route-Record AVPs, with all the values in the given array.
|
void |
setSessionId(java.lang.String sessionId)
Sets the value of the Session-Id AVP, of type UTF8String.
|
clone, getAvps, getCommand, getDestinationHost, getDestinationRealm, getHeader, setDestinationHost, setDestinationRealm
boolean hasSessionId()
java.lang.String getSessionId()
getSessionId
in interface DiameterMessage
void setSessionId(java.lang.String sessionId)
setSessionId
in interface DiameterMessage
java.lang.IllegalStateException
- if setSessionId has already been calledboolean hasOriginHost()
DiameterIdentity getOriginHost()
getOriginHost
in interface DiameterMessage
void setOriginHost(DiameterIdentity originHost)
setOriginHost
in interface DiameterMessage
java.lang.IllegalStateException
- if setOriginHost has already been calledboolean hasOriginRealm()
DiameterIdentity getOriginRealm()
getOriginRealm
in interface DiameterMessage
void setOriginRealm(DiameterIdentity originRealm)
setOriginRealm
in interface DiameterMessage
java.lang.IllegalStateException
- if setOriginRealm has already been calledboolean hasAuthApplicationId()
long getAuthApplicationId()
hasAuthApplicationId()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Auth-Application-Id AVP has not been set on this messagevoid setAuthApplicationId(long authApplicationId)
java.lang.IllegalStateException
- if setAuthApplicationId has already been calledboolean hasCcRequestType()
CcRequestType getCcRequestType()
void setCcRequestType(CcRequestType ccRequestType)
java.lang.IllegalStateException
- if setCcRequestType has already been calledboolean hasCcRequestNumber()
long getCcRequestNumber()
hasCcRequestNumber()
to check the existence of this AVP.java.lang.IllegalStateException
- if the CC-Request-Number AVP has not been set on this messagevoid setCcRequestNumber(long ccRequestNumber)
java.lang.IllegalStateException
- if setCcRequestNumber has already been calledProxyInfo[] getProxyInfos()
void setProxyInfo(ProxyInfo proxyInfo)
java.lang.IllegalStateException
- if setProxyInfo or setProxyInfos
has already been calledvoid setProxyInfos(ProxyInfo[] proxyInfos)
java.lang.IllegalStateException
- if setProxyInfo or setProxyInfos
has already been calledDiameterIdentity[] getRouteRecords()
void setRouteRecord(DiameterIdentity routeRecord)
java.lang.IllegalStateException
- if setRouteRecord or setRouteRecords
has already been calledvoid setRouteRecords(DiameterIdentity[] routeRecords)
java.lang.IllegalStateException
- if setRouteRecord or setRouteRecords
has already been called