net.jradius.packet.attribute.value
Class TLVValue

java.lang.Object
  extended by net.jradius.packet.attribute.value.AttributeValue
      extended by net.jradius.packet.attribute.value.OctetsValue
          extended by net.jradius.packet.attribute.value.TLVValue
All Implemented Interfaces:
Serializable

public class TLVValue
extends OctetsValue

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.jradius.packet.attribute.value.OctetsValue
byteValue, byteValueLength, byteValueOffset
 
Constructor Summary
TLVValue(long vendorId, int vsaType, AttributeList subAttributes)
           
 
Method Summary
 void copy(AttributeValue value)
           
 void getBytes(ByteBuffer buffer)
           
 int getLength()
           
 Serializable getValueObject()
           
 void setValue(byte[] b)
           
 void setValue(byte[] b, int off, int len)
           
 void setValueObject(Serializable o)
           
 String toDebugString()
           
 String toString()
           
 
Methods inherited from class net.jradius.packet.attribute.value.OctetsValue
getBytes, getBytes
 
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
 

Constructor Detail

TLVValue

public TLVValue(long vendorId,
                int vsaType,
                AttributeList subAttributes)
Method Detail

getBytes

public void getBytes(ByteBuffer buffer)
Overrides:
getBytes in class OctetsValue

copy

public void copy(AttributeValue value)
Overrides:
copy in class OctetsValue

getLength

public int getLength()
Overrides:
getLength in class OctetsValue

getValueObject

public Serializable getValueObject()
Overrides:
getValueObject in class OctetsValue

setValue

public void setValue(byte[] b)
Overrides:
setValue in class OctetsValue

setValue

public void setValue(byte[] b,
                     int off,
                     int len)
Overrides:
setValue in class OctetsValue

setValueObject

public void setValueObject(Serializable o)
Overrides:
setValueObject in class OctetsValue

toDebugString

public String toDebugString()
Overrides:
toDebugString in class OctetsValue

toString

public String toString()
Overrides:
toString in class OctetsValue


Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.