Interface DiameterShMessage
-
- All Superinterfaces:
Cloneable
,DiameterMessage
,DiameterShBaseMessage
- All Known Subinterfaces:
ProfileUpdateAnswer
,ProfileUpdateRequest
,PushNotificationAnswer
,PushNotificationRequest
,SubscribeNotificationsAnswer
,SubscribeNotificationsRequest
,UserDataAnswer
,UserDataRequest
public interface DiameterShMessage extends DiameterShBaseMessage
Interface containing accessor methods for AVPs present in version specific Diameter Sh messages. Useful for defining utility methods to read/change a common AVP of any type of message.- Author:
- Open Cloud
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SupportedFeatures[]
getSupportedFeatureses()
Returns the set of Supported-Features AVPs.void
setSupportedFeatures(SupportedFeatures supportedFeatures)
Sets a single Supported-Features AVP in the message, of type Grouped.void
setSupportedFeatureses(SupportedFeatures[] supportedFeatureses)
Sets the set of Supported-Features AVPs, with all the values in the given array.-
Methods inherited from interface org.jainslee.resources.diameter.base.DiameterMessage
clone, getAvps, getCommand, getDestinationHost, getDestinationRealm, getHeader, getOriginHost, getOriginRealm, getSessionId, setDestinationHost, setDestinationRealm, setOriginHost, setOriginRealm, setSessionId
-
Methods inherited from interface org.jainslee.resources.diameter.sh.DiameterShBaseMessage
getAuthSessionState, getExtensionAvps, getProxyInfos, getRouteRecords, getVendorSpecificApplicationId, hasAuthSessionState, hasVendorSpecificApplicationId, setAuthSessionState, setExtensionAvps, setProxyInfo, setProxyInfos, setRouteRecord, setRouteRecords, setVendorSpecificApplicationId
-
-
-
-
Method Detail
-
getSupportedFeatureses
SupportedFeatures[] getSupportedFeatureses()
Returns the set of Supported-Features AVPs. The returned array contains the AVPs in the order they appear in the message. A return value of null implies that no Supported-Features AVPs have been set. The elements in the given array are SupportedFeatures objects.
-
setSupportedFeatures
void setSupportedFeatures(SupportedFeatures supportedFeatures)
Sets a single Supported-Features AVP in the message, of type Grouped.- Throws:
IllegalStateException
- if setSupportedFeatures or setSupportedFeatureses has already been called
-
setSupportedFeatureses
void setSupportedFeatureses(SupportedFeatures[] supportedFeatureses)
Sets the set of Supported-Features AVPs, with all the values in the given array. The AVPs will be added to message in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getSupportedFeatureses() is not guaranteed to return the same array instance, e.g. an "==" check would fail.- Throws:
IllegalStateException
- if setSupportedFeatures or setSupportedFeatureses has already been called
-
-