net.jradius.packet.attribute.value
Class OctetsValue
java.lang.Object
net.jradius.packet.attribute.value.AttributeValue
net.jradius.packet.attribute.value.OctetsValue
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- EncryptedStringValue, StringValue, TLVValue
public class OctetsValue
- extends AttributeValue
Raw Octets attribute value
- Author:
- David Bird
- See Also:
- Serialized Form
byteValue
protected byte[] byteValue
byteValueOffset
protected int byteValueOffset
byteValueLength
protected int byteValueLength
OctetsValue
public OctetsValue()
OctetsValue
public OctetsValue(byte[] b)
copy
public void copy(AttributeValue value)
- Specified by:
copy
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
getBytes
public void getBytes(ByteBuffer buffer,
int off,
int len)
- Description copied from class:
AttributeValue
- The values of valueOffset and valueLength are only used by some value types, for others
they are will always be the same or meaningless.
- Overrides:
getBytes
in class AttributeValue
getLength
public int getLength()
- Overrides:
getLength
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
toDebugString
public String toDebugString()
- Overrides:
toDebugString
in class AttributeValue
toString
public String toString()
- Overrides:
toString
in class AttributeValue
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.