public abstract class PCEPTLV extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected static org.slf4j.Logger | log | 
| protected byte[] | tlv_bytes | 
| protected int | TLVType | 
| protected int | TLVValueLengthLength of the VALUE ONLY!!! | 
| protected int | TotalTLVLength | 
| Constructor and Description | 
|---|
| PCEPTLV() | 
| PCEPTLV(byte[] bytes,
       int offset) | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | encode() | 
| protected void | encodeHeader() | 
| boolean | equals(Object obj) | 
| byte[] | getTlv_bytes() | 
| static int | getTLVLength(byte[] bytes,
            int offset) | 
| int | getTLVType() | 
| int | getTLVValueLength() | 
| int | getTotalTLVLength() | 
| static int | getTotalTLVLength(byte[] bytes,
                 int offset) | 
| static int | getType(byte[] bytes,
       int offset) | 
| int | hashCode() | 
| protected void | setTlv_bytes(byte[] tlv_bytes) | 
| protected void | setTLVType(int tLVType) | 
| protected void | setTLVValueLength(int TLVValueLength)Sets the lenght of the VALUE of the TLV. | 
protected int TLVType
protected int TLVValueLength
protected int TotalTLVLength
protected byte[] tlv_bytes
protected static final org.slf4j.Logger log
protected void encodeHeader()
public int getTLVValueLength()
public int getTotalTLVLength()
public static int getTotalTLVLength(byte[] bytes,
                                    int offset)
public static int getTLVLength(byte[] bytes,
                               int offset)
public static int getType(byte[] bytes,
                          int offset)
public int getTLVType()
protected void setTLVType(int tLVType)
public byte[] getTlv_bytes()
protected void setTlv_bytes(byte[] tlv_bytes)
protected void setTLVValueLength(int TLVValueLength)
TLVValueLength - public abstract void encode()
Copyright © 2016. All rights reserved.