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, supportedObjectprotected int bwSpecLength
protected int revBwSpecLength
protected int bwSpecType
protected GeneralizedBandwidth generalizedBandwidth
protected GeneralizedBandwidth reverseGeneralizedBandwidth
public BandwidthRequestedGeneralizedBandwidth()
public BandwidthRequestedGeneralizedBandwidth(byte[] bytes,
                                              int offset)
                                       throws MalformedPCEPObjectException
MalformedPCEPObjectExceptionpublic void encode()
PCEPObjectencode in interface PCEPElementencode in class PCEPObjectpublic void decode()
            throws MalformedPCEPObjectException
PCEPObjectdecode in class PCEPObjectMalformedPCEPObjectExceptionpublic 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 PCEPObjectpublic boolean equals(Object obj)
equals in class PCEPObjectCopyright © 2016. All rights reserved.