net.java.slee.resource.diameter.gq.events.avp
Interface MediaSubComponent

All Superinterfaces:
java.lang.Cloneable, net.java.slee.resource.diameter.base.events.avp.DiameterAvp, net.java.slee.resource.diameter.base.events.avp.GroupedAvp
All Known Implementing Classes:
MediaSubComponentImpl

public interface MediaSubComponent
extends net.java.slee.resource.diameter.base.events.avp.GroupedAvp

Defines an interface representing the requested QOS and filters grouped AVP type.

From the Diameter Gq' Reference Point Protocol Details (ETSI TS 183.017 V1.4.0) specification:

 7.3.28 Media-sub-component AVP
 The Binding-input-list AVP (AVP Code 519) is of type Grouped AVP and contains requested QoS and filters for
 the set of IP flows identified by their common Flow-Identifier 
 
 It has the following ABNF grammar: 
  Media-sub-component ::= AVP Header: 519 13019
      [ Flow-Number ]
  0*2 [ Flow-Description ] UL and/or DL
      [ Flow-Status ]
      [ Flow-Usage ]
      [ Max-Request-Bandwidth-UL ]      
      [ Max-Request-Bandwidth-DL ]
 

Author:
Yulian Oifa

Field Summary
 
Fields inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
 
Method Summary
 net.java.slee.resource.diameter.base.events.avp.IPFilterRule[] getFlowDescriptions()
          Returns the value of the Flow-Description UL AVP, of type IPFilterRule.
 long getFlowNumber()
          Returns the value of the Flow-Number AVP, of type Unsigned32.
 FlowStatus getFlowStatus()
          Returns the value of the Flow-Status DL AVP, of type Flow Status.
 FlowUsage getFlowUsage()
          Returns the value of the Flow-Usage DL AVP, of type Flow Usage.
 long getMaxRequestedBandwidthDL()
          Returns the value of the Max-Requested-Bandwidth-DL AVP, of type Unsigned32.
 long getMaxRequestedBandwidthUL()
          Returns the value of the Max-Requested-Bandwidth-UL AVP, of type Unsigned32.
 boolean hasFlowNumber()
          Returns true if the Flow-Number AVP is present in the message.
 boolean hasFlowStatus()
          Returns true if the Flow-Status AVP is present in the message.
 boolean hasFlowUsage()
          Returns true if the Flow-Usage AVP is present in the message.
 boolean hasMaxRequestedBandwidthDL()
          Returns true if the Max-Requested-Bandwidth-DL AVP is present in the message.
 boolean hasMaxRequestedBandwidthUL()
          Returns true if the Max-Requested-Bandwidth-UL AVP is present in the message.
 void setFlowDescription(net.java.slee.resource.diameter.base.events.avp.IPFilterRule flowDescription)
          Sets the value of the Flow-Description AVP, of type IP Filter Rule.
 void setFlowDescriptions(net.java.slee.resource.diameter.base.events.avp.IPFilterRule[] flowDescriptions)
          Sets the value of the Flow-Description AVP, of type IP Filter Rule.
 void setFlowNumber(long flowNumber)
          Sets the value of the Flow-Number AVP, of type Unsigned32.
 void setFlowStatus(FlowStatus flowStatus)
          Sets the value of the Flow-Status AVP, of type Flow Status.
 void setFlowUsage(FlowUsage flowUsage)
          Sets the value of the Flow-Usage AVP, of type Flow Usage.
 void setMaxRequestedBandwidthDL(long maxRequestedBandwidthDL)
          Sets the value of the Max-Requested-Bandwidth-DL AVP, of type Unsigned32.
 void setMaxRequestedBandwidthUL(long maxRequestedBandwidthUL)
          Sets the value of the Max-Requested-Bandwidth-UL AVP, of type Unsigned32.
 
Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.GroupedAvp
getExtensionAvps, setExtensionAvps
 
Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorId, intValue, longValue, octetStringValue, stringValue
 

Method Detail

getFlowNumber

long getFlowNumber()
Returns the value of the Flow-Number AVP, of type Unsigned32. A return value of null implies that the AVP has not been set.


getFlowDescriptions

net.java.slee.resource.diameter.base.events.avp.IPFilterRule[] getFlowDescriptions()
Returns the value of the Flow-Description UL AVP, of type IPFilterRule. A return value of null implies that the AVP has not been set.


getFlowStatus

FlowStatus getFlowStatus()
Returns the value of the Flow-Status DL AVP, of type Flow Status. A return value of null implies that the AVP has not been set.


getFlowUsage

FlowUsage getFlowUsage()
Returns the value of the Flow-Usage DL AVP, of type Flow Usage. A return value of null implies that the AVP has not been set.


getMaxRequestedBandwidthUL

long getMaxRequestedBandwidthUL()
Returns the value of the Max-Requested-Bandwidth-UL AVP, of type Unsigned32. A return value of null implies that the AVP has not been set.


getMaxRequestedBandwidthDL

long getMaxRequestedBandwidthDL()
Returns the value of the Max-Requested-Bandwidth-DL AVP, of type Unsigned32. A return value of null implies that the AVP has not been set.


hasFlowNumber

boolean hasFlowNumber()
Returns true if the Flow-Number AVP is present in the message.


hasFlowStatus

boolean hasFlowStatus()
Returns true if the Flow-Status AVP is present in the message.


hasFlowUsage

boolean hasFlowUsage()
Returns true if the Flow-Usage AVP is present in the message.


hasMaxRequestedBandwidthUL

boolean hasMaxRequestedBandwidthUL()
Returns true if the Max-Requested-Bandwidth-UL AVP is present in the message.


hasMaxRequestedBandwidthDL

boolean hasMaxRequestedBandwidthDL()
Returns true if the Max-Requested-Bandwidth-DL AVP is present in the message.


setFlowNumber

void setFlowNumber(long flowNumber)
Sets the value of the Flow-Number AVP, of type Unsigned32.


setFlowDescriptions

void setFlowDescriptions(net.java.slee.resource.diameter.base.events.avp.IPFilterRule[] flowDescriptions)
Sets the value of the Flow-Description AVP, of type IP Filter Rule.


setFlowDescription

void setFlowDescription(net.java.slee.resource.diameter.base.events.avp.IPFilterRule flowDescription)
Sets the value of the Flow-Description AVP, of type IP Filter Rule.


setFlowStatus

void setFlowStatus(FlowStatus flowStatus)
Sets the value of the Flow-Status AVP, of type Flow Status.


setFlowUsage

void setFlowUsage(FlowUsage flowUsage)
Sets the value of the Flow-Usage AVP, of type Flow Usage.


setMaxRequestedBandwidthUL

void setMaxRequestedBandwidthUL(long maxRequestedBandwidthUL)
Sets the value of the Max-Requested-Bandwidth-UL AVP, of type Unsigned32.


setMaxRequestedBandwidthDL

void setMaxRequestedBandwidthDL(long maxRequestedBandwidthDL)
Sets the value of the Max-Requested-Bandwidth-DL AVP, of type Unsigned32.



Copyright © 2012. All Rights Reserved.