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

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:
V6TransportAddressImpl

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

Defines an interface representing the V6 transport address grouped AVP type.

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

 7.3.4 V6-Transport-address AVP
 The V6-Transport-address AVP (AVP Code 453) is of type Grouped AVP and holds information about a single IPv6 address and a single
 port number 
 
 It has the following ABNF grammar: 
  V6-Transport-Address ::= AVP Header: 453 13019
      [ Framed-IPv6-Prefix ] AVP Code 97
      [ Port-Number ] AVP Code 455
 

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
 byte[] getFramedIPV6Prefix()
          Returns the value of the Framed-IPv6-Prefix AVP, of type OctetString.
 long getPortNumber()
          Returns the value of the Port-Number AVP, of type Unsigned32.
 boolean hasFramedIPV6Prefix()
          Returns true if the Framed-IPv6-Prefix AVP is present in the message.
 boolean hasPortNumber()
          Returns true if the Port-Number AVP is present in the message.
 void setFramedIPV6Prefix(byte[] framedIPV6Prefix)
          Sets the value of the Framed-IPv6-Prefix AVP, of type OctetString.
 void setPortNumber(long portNumber)
          Sets the value of the Port-Number 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

getFramedIPV6Prefix

byte[] getFramedIPV6Prefix()
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.


getPortNumber

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


hasFramedIPV6Prefix

boolean hasFramedIPV6Prefix()
Returns true if the Framed-IPv6-Prefix AVP is present in the message.


hasPortNumber

boolean hasPortNumber()
Returns true if the Port-Number AVP is present in the message.


setFramedIPV6Prefix

void setFramedIPV6Prefix(byte[] framedIPV6Prefix)
Sets the value of the Framed-IPv6-Prefix AVP, of type OctetString.


setPortNumber

void setPortNumber(long portNumber)
Sets the value of the Port-Number AVP, of type Unsigned32.



Copyright © 2012. All Rights Reserved.