public class PPPoEDTag
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected short |
length |
static short |
PPPOED_TAG_AC_COOKIE |
static short |
PPPOED_TAG_AC_NAME |
static short |
PPPOED_TAG_AC_SYSTEM_ERROR |
static short |
PPPOED_TAG_END_OF_LIST |
static short |
PPPOED_TAG_GENERIC_ERROR |
static short |
PPPOED_TAG_HOST_UNIQ |
static short |
PPPOED_TAG_RELAY_SESSION_ID |
static short |
PPPOED_TAG_SERVICE_NAME |
static short |
PPPOED_TAG_SERVICE_NAME_ERROR |
static short |
PPPOED_TAG_VENDOR_SPECIFIC |
protected short |
type |
protected byte[] |
value |
| Constructor and Description |
|---|
PPPoEDTag()
Default constructor.
|
PPPoEDTag(short type,
short length,
byte[] value)
Constructs a PPPoED tag with type, length and value.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getLength() |
short |
getType() |
byte[] |
getValue() |
void |
setLength(short length) |
void |
setType(short type) |
void |
setValue(byte[] value) |
java.lang.String |
toString() |
protected short type
protected short length
protected byte[] value
public static final short PPPOED_TAG_END_OF_LIST
public static final short PPPOED_TAG_SERVICE_NAME
public static final short PPPOED_TAG_AC_NAME
public static final short PPPOED_TAG_HOST_UNIQ
public static final short PPPOED_TAG_AC_COOKIE
public static final short PPPOED_TAG_VENDOR_SPECIFIC
public static final short PPPOED_TAG_RELAY_SESSION_ID
public static final short PPPOED_TAG_SERVICE_NAME_ERROR
public static final short PPPOED_TAG_AC_SYSTEM_ERROR
public static final short PPPOED_TAG_GENERIC_ERROR
public PPPoEDTag()
public PPPoEDTag(short type,
short length,
byte[] value)
type - typelength - lengthvalue - valuepublic short getType()
public void setType(short type)
public short getLength()
public void setLength(short length)
public byte[] getValue()
public void setValue(byte[] value)
public java.lang.String toString()
toString in class java.lang.Object