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, supportedObject
public ReportedRouteObject()
public ReportedRouteObject(byte[] bytes, int offset) throws MalformedPCEPObjectException
bytes
- Sequence of bytes where the object is presentoffset
- Position at which the object startsMalformedPCEPObjectException
public void encode()
encode
in interface PCEPElement
encode
in class PCEPObject
public void decode() throws MalformedPCEPObjectException
decode
in class PCEPObject
MalformedPCEPObjectException
public LinkedList<RROSubobject> getRroSubObjectList()
public void setRroSubObjectList(LinkedList<RROSubobject> rroSubObjectList)
public int hashCode()
hashCode
in class PCEPObject
public boolean equals(Object obj)
equals
in class PCEPObject
Copyright © 2016. All rights reserved.