|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.jradiusclient.RadiusAttribute
Released under the LGPL
The most basic representation of an attribute to be used in the request attributes
section of the outgoing RadiusPackets. (see known direct known subclasses)
Constructor Summary | |
RadiusAttribute(int type,
byte[] value)
Construct a basic RadiusAttribute |
Method Summary | |
protected byte[] |
getBytes()
get the bytes that will go into a RadiusPacket |
int |
getType()
get the Radius Type for this Attribute( see rfc 2865 and 2866) |
byte[] |
getValue()
get the data stored for this RadiusAttribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RadiusAttribute(int type, byte[] value) throws InvalidParameterException
type
- - the type of this attribute see RadiusAttributeValues class for possible typesvalue
- - the byte array representation of a specific value for this instance.
InvalidParameterException
- if the type is not a valid Radius Attribute Type see RFCs 2865 and 2866Method Detail |
public int getType()
public byte[] getValue()
protected final byte[] getBytes()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |