net.jradius.packet.attribute.value
Class OctetsValue

java.lang.Object
  extended by net.jradius.packet.attribute.value.AttributeValue
      extended by net.jradius.packet.attribute.value.OctetsValue
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EncryptedStringValue, StringValue

public class OctetsValue
extends AttributeValue

Raw Octets attribute value

Author:
David Bird
See Also:
Serialized Form

Field Summary
protected  byte[] byteValue
           
 
Constructor Summary
OctetsValue()
           
OctetsValue(byte[] b)
           
 
Method Summary
 void getBytes(java.io.OutputStream out)
           
 int getLength()
           
 java.io.Serializable getValueObject()
           
 void setValue(byte[] b)
           
 void setValueObject(java.io.Serializable o)
           
 java.lang.String toString()
           
 
Methods inherited from class net.jradius.packet.attribute.value.AttributeValue
getBytes, setValue, toXMLString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

byteValue

protected byte[] byteValue
Constructor Detail

OctetsValue

public OctetsValue()

OctetsValue

public OctetsValue(byte[] b)
Method Detail

getBytes

public void getBytes(java.io.OutputStream out)
              throws java.io.IOException
Specified by:
getBytes in class AttributeValue
Throws:
java.io.IOException

getLength

public int getLength()
Overrides:
getLength in class AttributeValue

setValue

public void setValue(byte[] b)
Specified by:
setValue in class AttributeValue

toString

public java.lang.String toString()
Overrides:
toString in class AttributeValue

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 © 2008 JRadius Project, All Rights Reserved.