public class EndPointsIPv6 extends EndPoints
Modifier and Type | Field and Description |
---|---|
Inet6Address |
destIP |
Inet6Address |
sourceIP |
Ibit, log, object_bytes, ObjectClass, ObjectLength, OT, Pbit, Res
Constructor and Description |
---|
EndPointsIPv6() |
EndPointsIPv6(byte[] bytes,
int offset)
Constructs a new PCEP END-POINTS object IPv6 Type from a sequence of bytes
|
Modifier and Type | Method and Description |
---|---|
void |
decode()
Decode the ENDPOINTS IPv6 object
|
void |
encode()
Encode the EndPoints IPv6 objects
|
boolean |
equals(Object obj) |
Inet6Address |
getDestIP() |
Inet6Address |
getSourceIP() |
int |
hashCode() |
void |
setDestIP(Inet6Address destIP) |
void |
setSourceIP(Inet6Address sourceIP) |
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 Inet6Address sourceIP
public Inet6Address destIP
public EndPointsIPv6()
public EndPointsIPv6(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 hashCode()
hashCode
in class PCEPObject
public boolean equals(Object obj)
equals
in class PCEPObject
public Inet6Address getSourceIP()
public void setSourceIP(Inet6Address sourceIP)
public Inet6Address getDestIP()
public void setDestIP(Inet6Address destIP)
Copyright © 2016. All rights reserved.