net.jradius.packet.attribute.value
Class TLVFormat

java.lang.Object
  extended by net.jradius.packet.Format
      extended by net.jradius.packet.attribute.value.TLVFormat

public class TLVFormat
extends Format


Nested Class Summary
 
Nested classes/interfaces inherited from class net.jradius.packet.Format
Format.AttributeParseContext
 
Constructor Summary
TLVFormat(long vendor, int pt)
           
 
Method Summary
 void packAttribute(ByteBuffer buffer, RadiusAttribute a)
           
 void unpackAttributeHeader(ByteBuffer buffer, Format.AttributeParseContext ctx)
           
 
Methods inherited from class net.jradius.packet.Format
getUnsignedByte, getUnsignedByte, getUnsignedInt, getUnsignedInt, getUnsignedShort, getUnsignedShort, packAttributeList, packAttributes, putUnsignedByte, putUnsignedByte, putUnsignedInt, putUnsignedInt, putUnsignedShort, putUnsignedShort, readUnsignedByte, readUnsignedInt, readUnsignedShort, unpackAttributes, writeUnsignedByte, writeUnsignedInt, writeUnsignedShort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TLVFormat

public TLVFormat(long vendor,
                 int pt)
Method Detail

unpackAttributeHeader

public void unpackAttributeHeader(ByteBuffer buffer,
                                  Format.AttributeParseContext ctx)
Specified by:
unpackAttributeHeader in class Format

packAttribute

public void packAttribute(ByteBuffer buffer,
                          RadiusAttribute a)
Specified by:
packAttribute in class Format


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