public abstract class RadiusAttributeInfo<V> extends TlvInfo<RadiusAttributeInfo<?>,V,RadiusAttributeInfo.RadiusAttributeHeader>
Modifier and Type | Class and Description |
---|---|
static class |
RadiusAttributeInfo.RadiusAttributeHeader |
Modifier and Type | Field and Description |
---|---|
protected boolean |
addAvpName |
protected boolean |
continuation
WiMax continuation
|
protected boolean |
fragmented
EAP;
|
protected int |
tag |
int |
vendor |
children, childrenList, childrenMap, name, nameChildrenMap, paramLengthLength, paramTypeLength, parent, type, TYPE_ABINARY, TYPE_BYTE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INTEGER, TYPE_IPADDR, TYPE_IPV6ADDR, TYPE_IPV6PREFIX, TYPE_LONG, TYPE_OCTETS, TYPE_SHORT, TYPE_STRING, TYPE_TLV, valueType
Constructor and Description |
---|
RadiusAttributeInfo(int vendor,
int code,
java.lang.String name,
int valueType,
org.w3c.dom.Element attr,
java.util.List<RadiusAttributeInfo<?>> children) |
RadiusAttributeInfo(int vendor,
int code,
java.lang.String name,
int valueType,
int tag,
int paramTypeSize,
int paramLengthSize,
boolean continuation,
boolean addAvpName,
java.util.List<RadiusAttributeInfo<?>> children) |
Modifier and Type | Method and Description |
---|---|
RadiusAttribute<?> |
read(java.nio.ByteBuffer bb,
RadiusAttributeInfo.RadiusAttributeHeader header)
Нам уже известны тип и длина - читаем дальше
|
protected java.nio.ByteBuffer |
readWithContinuation(java.nio.ByteBuffer dataWithoutTag,
java.nio.ByteBuffer bb) |
protected java.nio.ByteBuffer |
tagUnwrap(java.nio.ByteBuffer data,
RadiusAttributeInfo.RadiusAttributeHeader header) |
void |
write(RadiusAttribute<?> attribute,
java.nio.ByteBuffer bb) |
protected void |
writeAttribute(int tag,
java.nio.ByteBuffer[] data,
java.nio.ByteBuffer bb) |
getChild, getChild, iterator, readTypeLength, setParent, sliceData, unwrapValue, valueToString, wrapValue
public final int vendor
protected final boolean addAvpName
protected final int tag
protected final boolean continuation
protected boolean fragmented
public RadiusAttributeInfo(int vendor, int code, java.lang.String name, int valueType, int tag, int paramTypeSize, int paramLengthSize, boolean continuation, boolean addAvpName, java.util.List<RadiusAttributeInfo<?>> children)
public RadiusAttributeInfo(int vendor, int code, java.lang.String name, int valueType, org.w3c.dom.Element attr, java.util.List<RadiusAttributeInfo<?>> children)
public RadiusAttribute<?> read(java.nio.ByteBuffer bb, RadiusAttributeInfo.RadiusAttributeHeader header)
read
in class TlvInfo<RadiusAttributeInfo<?>,V,RadiusAttributeInfo.RadiusAttributeHeader>
protected java.nio.ByteBuffer tagUnwrap(java.nio.ByteBuffer data, RadiusAttributeInfo.RadiusAttributeHeader header)
protected java.nio.ByteBuffer readWithContinuation(java.nio.ByteBuffer dataWithoutTag, java.nio.ByteBuffer bb)
public void write(RadiusAttribute<?> attribute, java.nio.ByteBuffer bb)
protected void writeAttribute(int tag, java.nio.ByteBuffer[] data, java.nio.ByteBuffer bb)