public class P2MPEndPointsDataPathID extends EndPoints
Ibit, log, object_bytes, ObjectClass, ObjectLength, OT, Pbit, Res
Constructor and Description |
---|
P2MPEndPointsDataPathID()
Constructs a new PCEP END-POINTS object IPv4 Type from scratch.
|
P2MPEndPointsDataPathID(byte[] bytes,
int offset)
Constructs a new PCEP END-POINTS object IPv4 Type from a sequence of bytes
|
Modifier and Type | Method and Description |
---|---|
void |
decode()
Decode the IPv4 address
|
void |
encode()
Encode the IPv4 address
|
LinkedList<String> |
getDestDatapathIDList() |
int |
getLeafType() |
String |
getSourceDatapathID() |
void |
setDestDatapathIDList(LinkedList<String> destDatapathIDList) |
void |
setLeafType(int leafType) |
void |
setSourceDatapathID(String sourceDatapathID) |
String |
toString() |
decode, decodeHeader, encode_header, equals, getBytes, getLength, getObject_bytes, getObjectClass, getObjectClass, getObjectLength, getObjectType, getOT, getRes, hashCode, isIbit, isPbit, setIbit, setObject_bytes, setObjectClass, setObjectLength, setOT, setPbit, setRes, supportedObject
public P2MPEndPointsDataPathID()
public P2MPEndPointsDataPathID(byte[] bytes, int offset) throws MalformedPCEPObjectException
bytes
- Sequence of bytes where the object is presentoffset
- Position at which the object startsMalformedPCEPObjectException
- Thrown if the decoded object is not well formedpublic void encode()
encode
in interface PCEPElement
encode
in class PCEPObject
public void decode() throws MalformedPCEPObjectException
decode
in class PCEPObject
MalformedPCEPObjectException
public int getLeafType()
public void setLeafType(int leafType)
public String getSourceDatapathID()
public void setSourceDatapathID(String sourceDatapathID)
public LinkedList<String> getDestDatapathIDList()
public void setDestDatapathIDList(LinkedList<String> destDatapathIDList)
Copyright © 2016. All rights reserved.