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(java.io.OutputStream out, RadiusAttribute a)
           
 void packHeader(java.io.OutputStream out, RadiusAttribute a)
           
 void packHeader(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

DiameterFormat

public DiameterFormat()
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

packHeader

public void packHeader(java.io.OutputStream out,
                       RadiusAttribute a)
                throws java.io.IOException
Throws:
java.io.IOException

packHeader

public void packHeader(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.