public class ReportedRouteObject extends PCEPObject
Ibit, log, object_bytes, ObjectClass, ObjectLength, OT, Pbit, Res| Constructor and Description |
|---|
ReportedRouteObject() |
ReportedRouteObject(byte[] bytes,
int offset)
Constructs a Reported Route Object (RRO) from a sequence of bytes
|
| Modifier and Type | Method and Description |
|---|---|
void |
decode()
Decode Reported Route Object
|
void |
encode()
Encode Reported Route Object
|
boolean |
equals(Object obj) |
LinkedList<RROSubobject> |
getRroSubObjectList() |
int |
hashCode() |
void |
setRroSubObjectList(LinkedList<RROSubobject> rroSubObjectList) |
decode, decodeHeader, encode_header, getBytes, getLength, getObject_bytes, getObjectClass, getObjectClass, getObjectLength, getObjectType, getOT, getRes, isIbit, isPbit, setIbit, setObject_bytes, setObjectClass, setObjectLength, setOT, setPbit, setRes, supportedObjectpublic ReportedRouteObject()
public ReportedRouteObject(byte[] bytes,
int offset)
throws MalformedPCEPObjectException
bytes - Sequence of bytes where the object is presentoffset - Position at which the object startsMalformedPCEPObjectExceptionpublic void encode()
encode in interface PCEPElementencode in class PCEPObjectpublic void decode()
throws MalformedPCEPObjectException
decode in class PCEPObjectMalformedPCEPObjectExceptionpublic LinkedList<RROSubobject> getRroSubObjectList()
public void setRroSubObjectList(LinkedList<RROSubobject> rroSubObjectList)
public int hashCode()
hashCode in class PCEPObjectpublic boolean equals(Object obj)
equals in class PCEPObjectCopyright © 2016. All rights reserved.