com.netscape.cmsutil.radius
Class Packet

java.lang.Object
  extended by com.netscape.cmsutil.radius.Packet
Direct Known Subclasses:
NASPacket, ServerPacket

public abstract class Packet
extends java.lang.Object


Field Summary
protected  AttributeSet _attrs
           
protected  Authenticator _auth
           
protected  int _c
           
protected  short _id
           
static int ACCESS_ACCEPT
           
static int ACCESS_CHALLENGE
           
static int ACCESS_REJECT
           
static int ACCESS_REQUEST
           
static int RESERVED
           
 
Constructor Summary
Packet()
           
Packet(int c, short id, Authenticator auth)
           
 
Method Summary
 void addAttribute(Attribute attr)
           
 Attribute getAttributeAt(int pos)
           
 AttributeSet getAttributeSet()
           
 Authenticator getAuthenticator()
           
 int getCode()
           
 short getIdentifier()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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:
toString in class java.lang.Object