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(java.io.OutputStream out, RadiusAttribute a)
           
 void packAttribute(java.io.OutputStream out, VSAttribute a)
           
 int unpackAttributeHeader(java.io.InputStream in, Format.AttributeParseContext ctx)
           
 
Methods inherited from class net.jradius.packet.Format
packAttributeList, 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(java.io.OutputStream out,
                          RadiusAttribute a)
                   throws java.io.IOException
Specified by:
packAttribute in class Format
Throws:
java.io.IOException

packAttribute

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

unpackAttributeHeader

public int unpackAttributeHeader(java.io.InputStream in,
                                 Format.AttributeParseContext ctx)
                          throws java.io.IOException
Specified by:
unpackAttributeHeader in class Format
Throws:
java.io.IOException


Copyright © 2008 JRadius Project, All Rights Reserved.