dk.i1.diameter
Class AVP_Address
Object
dk.i1.diameter.AVP
dk.i1.diameter.AVP_OctetString
dk.i1.diameter.AVP_Address
public class AVP_Address
- extends AVP_OctetString
An internet address AVP.
This class reflects the Address type AVP described in RFC3588.
It supports both IPv4 and IPv6.
Note:Values not conforming to RFC3588 has been seen in the wild.
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AVP_Address
public AVP_Address(AVP a)
throws InvalidAVPLengthException,
InvalidAddressTypeException
- Throws:
InvalidAVPLengthException
InvalidAddressTypeException
AVP_Address
public AVP_Address(int code,
java.net.InetAddress ia)
AVP_Address
public AVP_Address(int code,
int vendor_id,
java.net.InetAddress ia)
queryAddress
public java.net.InetAddress queryAddress()
throws InvalidAVPLengthException,
InvalidAddressTypeException
- Throws:
InvalidAVPLengthException
InvalidAddressTypeException
setAddress
public void setAddress(java.net.InetAddress ia)