public class P2PEndpoints extends PCEPConstruct
bytes, length, log| Constructor and Description |
|---|
P2PEndpoints() |
P2PEndpoints(byte[] bytes,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode() |
boolean |
equals(Object obj) |
EndPoint |
getDestinationEndpoint() |
EndPoint |
getDestinationEndPoint() |
EndPoint |
getSourceEndpoint() |
EndPoint |
getSourceEndPoint() |
int |
hashCode() |
void |
setDestinationEndpoint(EndPoint destinationEndpoint) |
void |
setDestinationEndPoints(EndPoint destinationEndPoint) |
void |
setSourceEndpoint(EndPoint sourceEndPoint) |
String |
toString() |
getBytes, getLength, setBytes, setLengthpublic P2PEndpoints()
public P2PEndpoints(byte[] bytes,
int offset)
throws PCEPProtocolViolationException,
MalformedPCEPObjectException
public void encode()
throws PCEPProtocolViolationException
PCEPProtocolViolationExceptionpublic EndPoint getSourceEndPoint()
public void setSourceEndpoint(EndPoint sourceEndPoint)
public EndPoint getDestinationEndPoint()
public void setDestinationEndPoints(EndPoint destinationEndPoint)
public EndPoint getDestinationEndpoint()
public void setDestinationEndpoint(EndPoint destinationEndpoint)
public EndPoint getSourceEndpoint()
public int hashCode()
hashCode in class PCEPConstructpublic boolean equals(Object obj)
equals in class PCEPConstructCopyright © 2016. All rights reserved.