public class WLANLabel extends RSVPConstruct
Modifier and Type | Field and Description |
---|---|
static int |
ITU_T_CWDM_GRID
ITU-T CWDM Grid
|
static int |
ITU_T_DWDM_GRID
Encode a DWDM Wavelength Label
|
static int |
ITU_T_FLEX
ITU-T CWDM Grid
|
bytes, length
Constructor and Description |
---|
WLANLabel() |
Modifier and Type | Method and Description |
---|---|
void |
decode(byte[] bytes,
int offset)
Decode a DWDM Wavelength Label
|
void |
encode()
Generic method to encode an RSVP element
|
int |
getChannelSpacing() |
int |
getGrid() |
int |
getIdentifier() |
int |
getM() |
int |
getN() |
void |
setChannelSpacing(int channelSpacing) |
void |
setGrid(int grid) |
void |
setIdentifier(int identifier) |
void |
setM(int m) |
void |
setN(int n) |
String |
toString() |
getBytes, getLength, setBytes, setLength
public static final int ITU_T_DWDM_GRID
public static final int ITU_T_CWDM_GRID
public static final int ITU_T_FLEX
public void encode() throws RSVPProtocolViolationException
RSVPElement
RSVPProtocolViolationException
public void decode(byte[] bytes, int offset) throws RSVPProtocolViolationException
decode
in class RSVPConstruct
RSVPProtocolViolationException
public int getGrid()
public void setGrid(int grid)
public int getChannelSpacing()
public void setChannelSpacing(int channelSpacing)
public int getIdentifier()
public void setIdentifier(int identifier)
public int getN()
public void setN(int n)
public int getM()
public void setM(int m)
Copyright © 2016. All rights reserved.