net.jradius.packet
Class DHCPFormat

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

public class DHCPFormat
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
DHCPFormat()
           
 
Method Summary
 void packAttribute(ByteBuffer buffer, RadiusAttribute a)
           
 void packAttribute(ByteBuffer buffer, VSAttribute a)
           
 void packAttribute(OutputStream out, RadiusAttribute a)
           
 void packAttribute(OutputStream out, VSAttribute a)
           
 void unpackAttributeHeader(ByteBuffer buffer, Format.AttributeParseContext ctx)
           
 int unpackAttributeHeader(InputStream in, 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

DHCPFormat

public DHCPFormat()
Method Detail

packAttribute

public void packAttribute(OutputStream out,
                          RadiusAttribute a)
                   throws IOException
Throws:
IOException

packAttribute

public void packAttribute(OutputStream out,
                          VSAttribute a)
                   throws IOException
Throws:
IOException

packAttribute

public void packAttribute(ByteBuffer buffer,
                          VSAttribute a)

packAttribute

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

unpackAttributeHeader

public int unpackAttributeHeader(InputStream in,
                                 Format.AttributeParseContext ctx)
                          throws IOException
Throws:
IOException

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.