net.sf.jradius.packet.attribute.value
Class IPAddrValue
java.lang.Object
net.sf.jradius.packet.attribute.value.AttributeValue
net.sf.jradius.packet.attribute.value.IPAddrValue
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- IPv6AddrValue
public class IPAddrValue
- extends AttributeValue
The IPv4 attribute value
- Author:
- David Bird
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
inetAddressValue
protected java.net.InetAddress inetAddressValue
IPAddrValue
public IPAddrValue()
IPAddrValue
public IPAddrValue(java.net.InetAddress i)
IPAddrValue
public IPAddrValue(java.lang.String s)
IPAddrValue
public IPAddrValue(byte[] bytes)
setValue
public void setValue(java.lang.String s)
- Overrides:
setValue
in class AttributeValue
getLength
public int getLength()
- Overrides:
getLength
in class AttributeValue
getBytes
public void getBytes(java.io.OutputStream out)
throws java.io.IOException
- Specified by:
getBytes
in class AttributeValue
- Throws:
java.io.IOException
setValue
public void setValue(byte[] b)
- Specified by:
setValue
in class AttributeValue
toString
public java.lang.String toString()
- Overrides:
toString
in class AttributeValue
toXMLString
public java.lang.String toXMLString()
- Overrides:
toXMLString
in class AttributeValue
setInetAddress
public void setInetAddress(java.net.InetAddress inet)
getValueObject
public java.io.Serializable getValueObject()
- Overrides:
getValueObject
in class AttributeValue
setValueObject
public void setValueObject(java.io.Serializable o)
- Specified by:
setValueObject
in class AttributeValue
Copyright © 2006 The JRadius Project, All Rights Reserved.