Class RadiusAttributeInfo<V>
java.lang.Object
ru.bitel.bgbilling.kernel.network.tlv.TlvInfo<RadiusAttributeInfo<?>,V,RadiusAttributeInfo.RadiusAttributeHeader>
ru.bitel.bgbilling.kernel.network.radius.RadiusAttributeInfo<V>
- All Implemented Interfaces:
Iterable<RadiusAttributeInfo<?>>
public abstract class RadiusAttributeInfo<V>
extends TlvInfo<RadiusAttributeInfo<?>,V,RadiusAttributeInfo.RadiusAttributeHeader>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final booleanWiMax continuationprotected booleanEAP;protected final intfinal intFields inherited from class ru.bitel.bgbilling.kernel.network.tlv.TlvInfo
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 Summary
ConstructorsConstructorDescriptionRadiusAttributeInfo(int vendor, int code, String name, int valueType, int tag, int paramTypeSize, int paramLengthSize, boolean continuation, boolean addAvpName, List<RadiusAttributeInfo<?>> children) RadiusAttributeInfo(int vendor, int code, String name, int valueType, Element attr, List<RadiusAttributeInfo<?>> children) -
Method Summary
Modifier and TypeMethodDescriptionread(ByteBuffer bb, RadiusAttributeInfo.RadiusAttributeHeader header) Нам уже известны тип и длина - читаем дальшеprotected ByteBufferreadWithContinuation(ByteBuffer dataWithoutTag, ByteBuffer bb) protected ByteBuffertagUnwrap(ByteBuffer data, RadiusAttributeInfo.RadiusAttributeHeader header) toString()voidwrite(RadiusAttribute<?> attribute, ByteBuffer bb) protected voidwriteAttribute(int tag, ByteBuffer[] data, ByteBuffer bb) Methods inherited from class ru.bitel.bgbilling.kernel.network.tlv.TlvInfo
getChild, getChild, iterator, readTypeLength, setParent, sliceData, unwrapValue, valueToString, wrapValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
vendor
public final int vendor -
addAvpName
protected final boolean addAvpName -
tag
protected final int tag -
continuation
protected final boolean continuationWiMax continuation -
fragmented
protected boolean fragmentedEAP;
-
-
Constructor Details
-
RadiusAttributeInfo
public RadiusAttributeInfo(int vendor, int code, String name, int valueType, int tag, int paramTypeSize, int paramLengthSize, boolean continuation, boolean addAvpName, List<RadiusAttributeInfo<?>> children) -
RadiusAttributeInfo
public RadiusAttributeInfo(int vendor, int code, String name, int valueType, Element attr, List<RadiusAttributeInfo<?>> children)
-
-
Method Details
-
read
Нам уже известны тип и длина - читаем дальше- Specified by:
readin classTlvInfo<RadiusAttributeInfo<?>,V, RadiusAttributeInfo.RadiusAttributeHeader>
-
tagUnwrap
-
readWithContinuation
-
write
-
writeAttribute
-
toString
- Overrides:
toStringin classTlvInfo<RadiusAttributeInfo<?>,V, RadiusAttributeInfo.RadiusAttributeHeader>
-