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

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

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

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

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

 7.3.5 V4-Transport-address AVP
 The V4-Transport-address AVP (AVP Code 454) is of type Grouped AVP and holds information about a single IPv4 address and a single
 port number 
 
 It has the following ABNF grammar: 
  V4-Transport-Address ::= AVP Header: 454 13019
      [ Framed-IP-Address ] AVP Code 8
      [ 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[] getFramedIPAddress()
          Returns the value of the Framed-IP-Address AVP, of type OctetString.
 long getPortNumber()
          Returns the value of the Port-Number AVP, of type Unsigned32.
 boolean hasFramedIPAddress()
          Returns true if the Framed-IP-Address AVP is present in the message.
 boolean hasPortNumber()
          Returns true if the Port-Number AVP is present in the message.
 void setFramedIPAddress(byte[] framedIPAddress)
          Sets the value of the Framed-IP-Address 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

getFramedIPAddress

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


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.


hasFramedIPAddress

boolean hasFramedIPAddress()
Returns true if the Framed-IP-Address AVP is present in the message.


hasPortNumber

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


setFramedIPAddress

void setFramedIPAddress(byte[] framedIPAddress)
Sets the value of the Framed-IP-Address 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.