public class BandwidthRequestedGeneralizedBandwidth extends Bandwidth
Modifier and Type | Field and Description |
---|---|
protected int |
bwSpecLength |
protected int |
bwSpecType |
protected GeneralizedBandwidth |
generalizedBandwidth |
protected int |
revBwSpecLength |
protected GeneralizedBandwidth |
reverseGeneralizedBandwidth |
Ibit, log, object_bytes, ObjectClass, ObjectLength, OT, Pbit, Res
Constructor and Description |
---|
BandwidthRequestedGeneralizedBandwidth() |
BandwidthRequestedGeneralizedBandwidth(byte[] bytes,
int offset) |
Modifier and Type | Method and Description |
---|---|
void |
decode()
Decode the object.
|
Bandwidth |
duplicate() |
void |
encode()
Encode the object.
|
boolean |
equals(Object obj) |
int |
getBwSpecLength() |
int |
getBwSpecType() |
GeneralizedBandwidth |
getGeneralizedBandwidth() |
int |
getRevBwSpecLength() |
GeneralizedBandwidth |
getReverseGeneralizedBandwidth() |
int |
hashCode() |
void |
setBwSpecLength(int bwSpecLength) |
void |
setBwSpecType(int bwSpecType) |
void |
setGeneralizedBandwidth(GeneralizedBandwidth generalizedBandwidth) |
void |
setRevBwSpecLength(int revBwSpecLength) |
void |
setReverseGeneralizedBandwidth(GeneralizedBandwidth reverseGeneralizedBandwidth) |
String |
toString() |
decode, decodeHeader, encode_header, getBytes, getLength, getObject_bytes, getObjectClass, getObjectClass, getObjectLength, getObjectType, getOT, getRes, isIbit, isPbit, setIbit, setObject_bytes, setObjectClass, setObjectLength, setOT, setPbit, setRes, supportedObject
protected int bwSpecLength
protected int revBwSpecLength
protected int bwSpecType
protected GeneralizedBandwidth generalizedBandwidth
protected GeneralizedBandwidth reverseGeneralizedBandwidth
public BandwidthRequestedGeneralizedBandwidth()
public BandwidthRequestedGeneralizedBandwidth(byte[] bytes, int offset) throws MalformedPCEPObjectException
MalformedPCEPObjectException
public void encode()
PCEPObject
encode
in interface PCEPElement
encode
in class PCEPObject
public void decode() throws MalformedPCEPObjectException
PCEPObject
decode
in class PCEPObject
MalformedPCEPObjectException
public GeneralizedBandwidth getGeneralizedBandwidth()
public void setGeneralizedBandwidth(GeneralizedBandwidth generalizedBandwidth)
public GeneralizedBandwidth getReverseGeneralizedBandwidth()
public void setReverseGeneralizedBandwidth(GeneralizedBandwidth reverseGeneralizedBandwidth)
public int getBwSpecLength()
public void setBwSpecLength(int bwSpecLength)
public int getRevBwSpecLength()
public void setRevBwSpecLength(int revBwSpecLength)
public int getBwSpecType()
public void setBwSpecType(int bwSpecType)
public int hashCode()
hashCode
in class PCEPObject
public boolean equals(Object obj)
equals
in class PCEPObject
Copyright © 2016. All rights reserved.