net.sf.jradius.packet.attribute
Class RadiusAttribute
java.lang.Object
net.sf.jradius.packet.attribute.RadiusAttribute
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Attr_UnknownAttribute, VSAttribute
public abstract class RadiusAttribute
- extends java.lang.Object
- implements java.io.Serializable
The RADIUS Attribute. All radius attributes (as build by RadiusDictionary)
are derived from this abstract class.
- Author:
- David Bird
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
attributeType
protected int attributeType
attributeOp
protected int attributeOp
attributeValue
protected AttributeValue attributeValue
attributeName
protected java.lang.String attributeName
RadiusAttribute
public RadiusAttribute()
setup
public abstract void setup()
setup
protected void setup(java.io.Serializable value)
setup
protected void setup(java.io.Serializable o,
int op)
getType
public int getType()
- Returns:
- Returns the attribute type
getFormattedType
public int getFormattedType()
- Returns:
- Returns the (internal) formatted attribute type
getValue
public AttributeValue getValue()
- Returns:
- Returns the AttributeValue
getAttributeName
public java.lang.String getAttributeName()
- Returns:
- Returns the name of the attribute
getAttributeOp
public int getAttributeOp()
- Returns:
- Returns the "operator" of the attribute
setAttributeOp
public void setAttributeOp(int attributeOp)
- Parameters:
attributeOp
- The new attribute "operator" to be set
setAttributeOp
public void setAttributeOp(java.lang.String attributeOp)
- Parameters:
attributeOp
- The new attribute "operator" to be set
setValue
public void setValue(byte[] b)
- Parameters:
b
- The new attribute value to be set
setValue
public void setValue(java.lang.String value)
- Parameters:
value
- The new attribute value to be set
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
Object.toString()
Copyright © 2006 The JRadius Project, All Rights Reserved.