org.mobicents.slee.resource.diameter.gq.events.avp
Class MediaSubComponentImpl

java.lang.Object
  extended by org.mobicents.slee.resource.diameter.base.events.avp.DiameterAvpImpl
      extended by org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
          extended by org.mobicents.slee.resource.diameter.gq.events.avp.MediaSubComponentImpl
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Cloneable, net.java.slee.resource.diameter.base.events.avp.DiameterAvp, net.java.slee.resource.diameter.base.events.avp.GroupedAvp, MediaSubComponent

public class MediaSubComponentImpl
extends org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
implements MediaSubComponent

Implementation for MediaSubComponent

Author:
Yulian Oifa
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
avpSet
 
Fields inherited from class org.mobicents.slee.resource.diameter.base.events.avp.DiameterAvpImpl
code, mnd, name, prt, type, value, vendorId
 
Fields inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
 
Constructor Summary
MediaSubComponentImpl()
           
MediaSubComponentImpl(int code, long vendorId, int mnd, int prt, byte[] value)
           
 
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 class org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
addAvp, addAvp, addAvp, addAvp, byteArrayValue, clone, doubleValue, equals, floatValue, getAvp, getAvp, getAvp, getAvpAsAddress, getAvpAsAddress, getAvpAsCustom, getAvpAsCustom, getAvpAsDiameterIdentity, getAvpAsDiameterIdentity, getAvpAsDiameterURI, getAvpAsDiameterURI, getAvpAsEnumerated, getAvpAsEnumerated, getAvpAsFloat32, getAvpAsFloat32, getAvpAsFloat64, getAvpAsFloat64, getAvpAsGrouped, getAvpAsGrouped, getAvpAsInteger32, getAvpAsInteger32, getAvpAsInteger64, getAvpAsInteger64, getAvpAsIPFilterRule, getAvpAsIPFilterRule, getAvpAsOctetString, getAvpAsOctetString, getAvpAsRaw, getAvpAsRaw, getAvpAsTime, getAvpAsTime, getAvpAsUnsigned32, getAvpAsUnsigned32, getAvpAsUnsigned64, getAvpAsUnsigned64, getAvpAsUTF8String, getAvpAsUTF8String, getAvpsAsAddress, getAvpsAsAddress, getAvpsAsCustom, getAvpsAsCustom, getAvpsAsDiameterIdentity, getAvpsAsDiameterIdentity, getAvpsAsDiameterURI, getAvpsAsDiameterURI, getAvpsAsEnumerated, getAvpsAsEnumerated, getAvpsAsFloat32, getAvpsAsFloat32, getAvpsAsFloat64, getAvpsAsFloat64, getAvpsAsGrouped, getAvpsAsGrouped, getAvpsAsInteger32, getAvpsAsInteger32, getAvpsAsInteger64, getAvpsAsInteger64, getAvpsAsIPFilterRule, getAvpsAsIPFilterRule, getAvpsAsOctetString, getAvpsAsOctetString, getAvpsAsRaw, getAvpsAsRaw, getAvpsAsTime, getAvpsAsTime, getAvpsAsUnsigned32, getAvpsAsUnsigned32, getAvpsAsUnsigned64, getAvpsAsUnsigned64, getAvpsAsUTF8String, getAvpsAsUTF8String, getExtensionAvps, getGenericData, getValue, hasAvp, hasAvp, intValue, longValue, setAvpAsFloat32, setAvpAsFloat64, setAvpAsGrouped, setAvpAsInteger32, setAvpAsInteger64, setAvpAsOctetString, setAvpAsRaw, setAvpAsTime, setAvpAsUnsigned32, setAvpAsUnsigned64, setAvpAsUTF8String, setExtensionAvps, setValue, stringValue
 
Methods inherited from class org.mobicents.slee.resource.diameter.base.events.avp.DiameterAvpImpl
getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorId, hashCode, octetStringValue, readExternal, toString, writeExternal
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
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
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Constructor Detail

MediaSubComponentImpl

public MediaSubComponentImpl()

MediaSubComponentImpl

public MediaSubComponentImpl(int code,
                             long vendorId,
                             int mnd,
                             int prt,
                             byte[] value)
Parameters:
code -
vendorId -
mnd -
prt -
value -
Method Detail

getFlowNumber

public long getFlowNumber()
Description copied from interface: MediaSubComponent
Returns the value of the Flow-Number AVP, of type Unsigned32. A return value of null implies that the AVP has not been set.

Specified by:
getFlowNumber in interface MediaSubComponent

getFlowDescriptions

public net.java.slee.resource.diameter.base.events.avp.IPFilterRule[] getFlowDescriptions()
Description copied from interface: MediaSubComponent
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.

Specified by:
getFlowDescriptions in interface MediaSubComponent

getFlowStatus

public FlowStatus getFlowStatus()
Description copied from interface: MediaSubComponent
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.

Specified by:
getFlowStatus in interface MediaSubComponent

getFlowUsage

public FlowUsage getFlowUsage()
Description copied from interface: MediaSubComponent
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.

Specified by:
getFlowUsage in interface MediaSubComponent

getMaxRequestedBandwidthUL

public long getMaxRequestedBandwidthUL()
Description copied from interface: MediaSubComponent
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.

Specified by:
getMaxRequestedBandwidthUL in interface MediaSubComponent

getMaxRequestedBandwidthDL

public long getMaxRequestedBandwidthDL()
Description copied from interface: MediaSubComponent
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.

Specified by:
getMaxRequestedBandwidthDL in interface MediaSubComponent

hasFlowNumber

public boolean hasFlowNumber()
Description copied from interface: MediaSubComponent
Returns true if the Flow-Number AVP is present in the message.

Specified by:
hasFlowNumber in interface MediaSubComponent

hasFlowStatus

public boolean hasFlowStatus()
Description copied from interface: MediaSubComponent
Returns true if the Flow-Status AVP is present in the message.

Specified by:
hasFlowStatus in interface MediaSubComponent

hasFlowUsage

public boolean hasFlowUsage()
Description copied from interface: MediaSubComponent
Returns true if the Flow-Usage AVP is present in the message.

Specified by:
hasFlowUsage in interface MediaSubComponent

hasMaxRequestedBandwidthUL

public boolean hasMaxRequestedBandwidthUL()
Description copied from interface: MediaSubComponent
Returns true if the Max-Requested-Bandwidth-UL AVP is present in the message.

Specified by:
hasMaxRequestedBandwidthUL in interface MediaSubComponent

hasMaxRequestedBandwidthDL

public boolean hasMaxRequestedBandwidthDL()
Description copied from interface: MediaSubComponent
Returns true if the Max-Requested-Bandwidth-DL AVP is present in the message.

Specified by:
hasMaxRequestedBandwidthDL in interface MediaSubComponent

setFlowNumber

public void setFlowNumber(long flowNumber)
Description copied from interface: MediaSubComponent
Sets the value of the Flow-Number AVP, of type Unsigned32.

Specified by:
setFlowNumber in interface MediaSubComponent

setFlowDescriptions

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

Specified by:
setFlowDescriptions in interface MediaSubComponent

setFlowDescription

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

Specified by:
setFlowDescription in interface MediaSubComponent

setFlowStatus

public void setFlowStatus(FlowStatus flowStatus)
Description copied from interface: MediaSubComponent
Sets the value of the Flow-Status AVP, of type Flow Status.

Specified by:
setFlowStatus in interface MediaSubComponent

setFlowUsage

public void setFlowUsage(FlowUsage flowUsage)
Description copied from interface: MediaSubComponent
Sets the value of the Flow-Usage AVP, of type Flow Usage.

Specified by:
setFlowUsage in interface MediaSubComponent

setMaxRequestedBandwidthUL

public void setMaxRequestedBandwidthUL(long maxRequestedBandwidthUL)
Description copied from interface: MediaSubComponent
Sets the value of the Max-Requested-Bandwidth-UL AVP, of type Unsigned32.

Specified by:
setMaxRequestedBandwidthUL in interface MediaSubComponent

setMaxRequestedBandwidthDL

public void setMaxRequestedBandwidthDL(long maxRequestedBandwidthDL)
Description copied from interface: MediaSubComponent
Sets the value of the Max-Requested-Bandwidth-DL AVP, of type Unsigned32.

Specified by:
setMaxRequestedBandwidthDL in interface MediaSubComponent


Copyright © 2012. All Rights Reserved.