public interface DiameterShBaseMessage extends DiameterMessage
Modifier and Type | Method and Description |
---|---|
AuthSessionState |
getAuthSessionState()
Returns the value of the Auth-Session-State AVP, of type Enumerated.
|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
ProxyInfo[] |
getProxyInfos()
Returns the set of Proxy-Info AVPs.
|
DiameterIdentity[] |
getRouteRecords()
Returns the set of Route-Record AVPs.
|
VendorSpecificApplicationId |
getVendorSpecificApplicationId()
Returns the value of the Vendor-Specific-Application-Id AVP, of type Grouped.
|
boolean |
hasAuthSessionState()
Returns true if the Auth-Session-State AVP is present in the message.
|
boolean |
hasVendorSpecificApplicationId()
Returns true if the Vendor-Specific-Application-Id AVP is present in the message.
|
void |
setAuthSessionState(AuthSessionState authSessionState)
Sets the value of the Auth-Session-State AVP, of type Enumerated.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
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 |
setVendorSpecificApplicationId(VendorSpecificApplicationId vendorSpecificApplicationId)
Sets the value of the Vendor-Specific-Application-Id AVP, of type Grouped.
|
clone, getAvps, getCommand, getDestinationHost, getDestinationRealm, getHeader, getOriginHost, getOriginRealm, getSessionId, setDestinationHost, setDestinationRealm, setOriginHost, setOriginRealm, setSessionId
boolean hasVendorSpecificApplicationId()
VendorSpecificApplicationId getVendorSpecificApplicationId()
void setVendorSpecificApplicationId(VendorSpecificApplicationId vendorSpecificApplicationId)
java.lang.IllegalStateException
- if setVendorSpecificApplicationId has already been calledboolean hasAuthSessionState()
AuthSessionState getAuthSessionState()
void setAuthSessionState(AuthSessionState authSessionState)
java.lang.IllegalStateException
- if setAuthSessionState 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 calledDiameterAvp[] getExtensionAvps()
void setExtensionAvps(DiameterAvp[] avps) throws AvpNotAllowedException
AvpNotAllowedException
- if an AVP is encountered of a type already known to this class
(i.e. an AVP for which get/set methods already appear in this class)java.lang.IllegalStateException
- if setExtensionAvps has already been called