Package com.netscape.cmsutil.radius
Class Packet
- java.lang.Object
-
- com.netscape.cmsutil.radius.Packet
-
- Direct Known Subclasses:
NASPacket,ServerPacket
public abstract class Packet extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected AttributeSet_attrsprotected Authenticator_authprotected int_cprotected short_idstatic intACCESS_ACCEPTstatic intACCESS_CHALLENGEstatic intACCESS_REJECTstatic intACCESS_REQUESTstatic intRESERVED
-
Constructor Summary
Constructors Constructor Description Packet()Packet(int c, short id, Authenticator auth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttribute(Attribute attr)AttributegetAttributeAt(int pos)AttributeSetgetAttributeSet()AuthenticatorgetAuthenticator()intgetCode()shortgetIdentifier()java.lang.StringtoString()
-
-
-
Field Detail
-
ACCESS_REQUEST
public static final int ACCESS_REQUEST
- See Also:
- Constant Field Values
-
ACCESS_ACCEPT
public static final int ACCESS_ACCEPT
- See Also:
- Constant Field Values
-
ACCESS_REJECT
public static final int ACCESS_REJECT
- See Also:
- Constant Field Values
-
ACCESS_CHALLENGE
public static final int ACCESS_CHALLENGE
- See Also:
- Constant Field Values
-
RESERVED
public static final int RESERVED
- See Also:
- Constant Field Values
-
_c
protected int _c
-
_id
protected short _id
-
_auth
protected Authenticator _auth
-
_attrs
protected AttributeSet _attrs
-
-
Constructor Detail
-
Packet
public Packet()
-
Packet
public Packet(int c, short id, Authenticator auth)
-
-
Method Detail
-
getCode
public int getCode()
-
getIdentifier
public short getIdentifier()
-
getAuthenticator
public Authenticator getAuthenticator()
-
addAttribute
public void addAttribute(Attribute attr)
-
getAttributeSet
public AttributeSet getAttributeSet()
-
getAttributeAt
public Attribute getAttributeAt(int pos)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-