net.jradius.packet.attribute.value
Class IPAddrValue
java.lang.Object
net.jradius.packet.attribute.value.AttributeValue
net.jradius.packet.attribute.value.IPAddrValue
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ComboIPAddrValue, IPv6AddrValue
public class IPAddrValue
- extends AttributeValue
The IPv4 attribute value
- Author:
- David Bird
- See Also:
- Serialized Form
inetAddressValue
protected InetAddress inetAddressValue
IPAddrValue
public IPAddrValue()
IPAddrValue
public IPAddrValue(InetAddress i)
IPAddrValue
public IPAddrValue(String s)
IPAddrValue
public IPAddrValue(byte[] bytes)
copy
public void copy(AttributeValue value)
- Specified by:
copy
in class AttributeValue
setValue
public void setValue(String s)
- Overrides:
setValue
in class AttributeValue
getLength
public int getLength()
- Overrides:
getLength
in class AttributeValue
getBytes
public void getBytes(OutputStream out)
throws IOException
- Specified by:
getBytes
in class AttributeValue
- Throws:
IOException
getBytes
public void getBytes(ByteBuffer buffer)
- Specified by:
getBytes
in class AttributeValue
setValue
public void setValue(byte[] b)
- Specified by:
setValue
in class AttributeValue
setValue
public void setValue(byte[] b,
int off,
int len)
- Specified by:
setValue
in class AttributeValue
toString
public String toString()
- Overrides:
toString
in class AttributeValue
toXMLString
public String toXMLString()
- Overrides:
toXMLString
in class AttributeValue
setInetAddress
public void setInetAddress(InetAddress inet)
getValueObject
public Serializable getValueObject()
- Overrides:
getValueObject
in class AttributeValue
setValueObject
public void setValueObject(Serializable o)
- Specified by:
setValueObject
in class AttributeValue
Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.