public abstract class VSAttribute extends RadiusAttribute
RadiusAttribute.Operator| Modifier and Type | Field and Description |
|---|---|
protected short |
continuation |
protected short |
extraLength |
protected boolean |
grouped |
protected boolean |
hasContinuationByte |
protected short |
lengthLength |
protected short |
typeLength |
protected long |
vendorId |
protected long |
vsaAttributeType |
attributeName, attributeOp, attributeType, attributeValue, overflow, recyclable, recycled| Constructor and Description |
|---|
VSAttribute() |
| Modifier and Type | Method and Description |
|---|---|
int |
getContinuation() |
short |
getExtraLength() |
long |
getFormattedType()
Returns the VSA type (lower 2 bytes) encoded with the Vendor ID
(upper 2 bytes) as an integer.
|
short |
getLengthLength() |
short |
getTypeLength() |
long |
getVendorId() |
long |
getVsaAttributeType() |
boolean |
hasContinuationByte() |
boolean |
isGrouped() |
void |
setContinuation() |
void |
setContinuation(short cont) |
void |
setFormat(String format) |
void |
setGrouped(boolean grouped) |
void |
setVendorId(long vendorId) |
void |
setVsaAttributeType(long vsaAttributeType) |
void |
unsetContinuation() |
getAttributeName, getAttributeOp, getType, getValue, isOverflow, setAttributeOp, setAttributeOp, setOverflow, setup, setup, setup, setValue, setValue, setValue, toStringprotected long vendorId
protected long vsaAttributeType
protected short typeLength
protected short lengthLength
protected short extraLength
protected boolean hasContinuationByte
protected short continuation
protected boolean grouped
public void setFormat(String format)
public long getFormattedType()
getFormattedType in class RadiusAttributeRadiusAttribute.getFormattedType()public long getVendorId()
public void setVendorId(long vendorId)
vendorId - The vendorId to set.public long getVsaAttributeType()
public void setVsaAttributeType(long vsaAttributeType)
vsaAttributeType - The vsaAttributeType to set.public short getTypeLength()
public short getLengthLength()
public short getExtraLength()
public boolean hasContinuationByte()
public int getContinuation()
public void setContinuation(short cont)
public void setContinuation()
public void unsetContinuation()
public boolean isGrouped()
public void setGrouped(boolean grouped)
Copyright © 2017. All rights reserved.