net.jradius.packet
Class DHCPFormat
java.lang.Object
net.jradius.packet.Format
net.jradius.packet.DHCPFormat
public class DHCPFormat
- extends Format
The Diameter Attribute Formatter
- Author:
- David Bird
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 |
DHCPFormat
public DHCPFormat()
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.