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

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.GloballyUniqueAddressImpl
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, GloballyUniqueAddress

public class GloballyUniqueAddressImpl
extends org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
implements GloballyUniqueAddress

Implementation for GloballyUniqueAddress

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
GloballyUniqueAddressImpl()
           
GloballyUniqueAddressImpl(int code, long vendorId, int mnd, int prt, byte[] value)
           
 
Method Summary
 byte[] getAddressRealm()
          Returns the value of the Address-Realm AVP, of type OctetString.
 byte[] getFramedIPAddress()
          Returns the value of the Framed-IP-Address AVP, of type OctetString.
 byte[] getFramedIPV6Prefix()
          Returns the value of the Framed-IPv6-Prefix AVP, of type OctetString.
 boolean hasAddressRealm()
          Returns true if the Address-Realm AVP is present in the message.
 boolean hasFramedIPAddress()
          Returns true if the Framed-IP-Address AVP is present in the message.
 boolean hasFramedIPV6Prefix()
          Returns true if the Framed-IPv6-Prefix AVP is present in the message.
 void setAddressRealm(byte[] addressRealm)
          Sets the value of the Address-Realm AVP, of type OctetString.
 void setFramedIPAddress(byte[] framedIPAddress)
          Sets the value of the Framed-IP-Address AVP, of type OctetString.
 void setFramedIPV6Prefix(byte[] framedIPV6Prefix)
          Sets the value of the Framed-IPv6-Prefix AVP, of type OctetString.
 
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

GloballyUniqueAddressImpl

public GloballyUniqueAddressImpl()

GloballyUniqueAddressImpl

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

getFramedIPAddress

public byte[] getFramedIPAddress()
Description copied from interface: GloballyUniqueAddress
Returns the value of the Framed-IP-Address AVP, of type OctetString. A return value of null implies that the AVP has not been set.

Specified by:
getFramedIPAddress in interface GloballyUniqueAddress

getFramedIPV6Prefix

public byte[] getFramedIPV6Prefix()
Description copied from interface: GloballyUniqueAddress
Returns the value of the Framed-IPv6-Prefix AVP, of type OctetString. A return value of null implies that the AVP has not been set.

Specified by:
getFramedIPV6Prefix in interface GloballyUniqueAddress

getAddressRealm

public byte[] getAddressRealm()
Description copied from interface: GloballyUniqueAddress
Returns the value of the Address-Realm AVP, of type OctetString. A return value of null implies that the AVP has not been set.

Specified by:
getAddressRealm in interface GloballyUniqueAddress

hasFramedIPAddress

public boolean hasFramedIPAddress()
Description copied from interface: GloballyUniqueAddress
Returns true if the Framed-IP-Address AVP is present in the message.

Specified by:
hasFramedIPAddress in interface GloballyUniqueAddress

hasFramedIPV6Prefix

public boolean hasFramedIPV6Prefix()
Description copied from interface: GloballyUniqueAddress
Returns true if the Framed-IPv6-Prefix AVP is present in the message.

Specified by:
hasFramedIPV6Prefix in interface GloballyUniqueAddress

hasAddressRealm

public boolean hasAddressRealm()
Description copied from interface: GloballyUniqueAddress
Returns true if the Address-Realm AVP is present in the message.

Specified by:
hasAddressRealm in interface GloballyUniqueAddress

setFramedIPAddress

public void setFramedIPAddress(byte[] framedIPAddress)
Description copied from interface: GloballyUniqueAddress
Sets the value of the Framed-IP-Address AVP, of type OctetString.

Specified by:
setFramedIPAddress in interface GloballyUniqueAddress

setFramedIPV6Prefix

public void setFramedIPV6Prefix(byte[] framedIPV6Prefix)
Description copied from interface: GloballyUniqueAddress
Sets the value of the Framed-IPv6-Prefix AVP, of type OctetString.

Specified by:
setFramedIPV6Prefix in interface GloballyUniqueAddress

setAddressRealm

public void setAddressRealm(byte[] addressRealm)
Description copied from interface: GloballyUniqueAddress
Sets the value of the Address-Realm AVP, of type OctetString.

Specified by:
setAddressRealm in interface GloballyUniqueAddress


Copyright © 2012. All Rights Reserved.