net.sf.jradius.packet
Class DiameterFormat

java.lang.Object
  extended by net.sf.jradius.packet.RadiusFormat
      extended by net.sf.jradius.packet.DiameterFormat

public class DiameterFormat
extends RadiusFormat

The Diameter Attribute Formatter

Author:
David Bird

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.jradius.packet.RadiusFormat
RadiusFormat.AttributeParseContext
 
Field Summary
 
Fields inherited from class net.sf.jradius.packet.RadiusFormat
VSA_HEADER_LENGTH
 
Constructor Summary
DiameterFormat()
           
 
Method Summary
 void formatHeader(java.io.DataOutputStream out, RadiusAttribute a)
           
 void packAttribute(java.io.DataOutputStream out, RadiusAttribute a)
           
 void packHeader(java.io.DataOutputStream out, VSAttribute a)
           
protected  int unpackAttributeHeader(java.io.DataInputStream in, RadiusFormat.AttributeParseContext ctx)
           
 
Methods inherited from class net.sf.jradius.packet.RadiusFormat
getInstance, packAttribute, packAttributeList, packHeader, packHeader, packHeader, packPacket, readUnsignedByte, readUnsignedInt, readUnsignedShort, setAttributeBytes, unpackAttributeHeader, 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.DataOutputStream out,
                          RadiusAttribute a)
                   throws java.io.IOException
Throws:
java.io.IOException

formatHeader

public void formatHeader(java.io.DataOutputStream out,
                         RadiusAttribute a)
                  throws java.io.IOException
Throws:
java.io.IOException

packHeader

public void packHeader(java.io.DataOutputStream out,
                       VSAttribute a)
                throws java.io.IOException
Throws:
java.io.IOException

unpackAttributeHeader

protected int unpackAttributeHeader(java.io.DataInputStream in,
                                    RadiusFormat.AttributeParseContext ctx)
                             throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2006 The JRadius Project, All Rights Reserved.