public abstract class Packet
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
Packet() |
Packet(int c,
short id,
Authenticator auth) |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(Attribute attr) |
Attribute |
getAttributeAt(int pos) |
AttributeSet |
getAttributeSet() |
Authenticator |
getAuthenticator() |
int |
getCode() |
short |
getIdentifier() |
java.lang.String |
toString() |
public static final int ACCESS_REQUEST
public static final int ACCESS_ACCEPT
public static final int ACCESS_REJECT
public static final int ACCESS_CHALLENGE
public static final int RESERVED
protected int _c
protected short _id
protected Authenticator _auth
protected AttributeSet _attrs
public Packet()
public Packet(int c, short id, Authenticator auth)
public int getCode()
public short getIdentifier()
public Authenticator getAuthenticator()
public void addAttribute(Attribute attr)
public AttributeSet getAttributeSet()
public Attribute getAttributeAt(int pos)
public java.lang.String toString()
toString
in class java.lang.Object