public class PowerInfoSubTLV extends PCEPSubTLV
log, subtlv_bytes, SubTLVType, TotalSubTLVLength
Constructor and Description |
---|
PowerInfoSubTLV() |
PowerInfoSubTLV(byte[] bytes,
int offset) |
Modifier and Type | Method and Description |
---|---|
void |
decode() |
void |
encode()
Encode RequestedStorageSize TLV
|
int |
getPowerClass() |
int |
getPowerSource() |
int |
getRegeneration() |
void |
setPowerClass(int powerClass) |
void |
setPowerSource(int powerSource) |
void |
setRegeneration(int regeneration) |
encodeHeader, equals, getSubTLV_bytes, getSubTLVLength, getSubTLVType, getSubTLVValueLength, getTotalSubTLVLength, getTotalSubTLVLength, getType, hashCode, setSubTLV_bytes, setSubTLVType, setSubTLVValueLength
public PowerInfoSubTLV()
public PowerInfoSubTLV(byte[] bytes, int offset)
public void encode()
encode
in class PCEPSubTLV
public void decode()
public void setPowerSource(int powerSource)
public int getPowerSource()
public void setPowerClass(int powerClass)
public int getPowerClass()
public void setRegeneration(int regeneration)
public int getRegeneration()
Copyright © 2016. All rights reserved.