net.jradius.packet
Class DiameterFormat

java.lang.Object
  extended by net.jradius.packet.Format
      extended by net.jradius.packet.DiameterFormat

public class DiameterFormat
extends Format

The Diameter Attribute Formatter

Author:
David Bird

Nested Class Summary
 
Nested classes/interfaces inherited from class net.jradius.packet.Format
Format.AttributeParseContext
 
Constructor Summary
DiameterFormat()
           
 
Method Summary
 void packAttribute(ByteBuffer buffer, RadiusAttribute a)
           
 void packHeader(ByteBuffer buffer, RadiusAttribute a)
           
 void packHeader(ByteBuffer buffer, VSAttribute 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

DiameterFormat

public DiameterFormat()
Method Detail

packAttribute

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

packHeader

public void packHeader(ByteBuffer buffer,
                       RadiusAttribute a)

packHeader

public void packHeader(ByteBuffer buffer,
                       VSAttribute a)

unpackAttributeHeader

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


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