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, setLength
public P2PEndpoints()
public P2PEndpoints(byte[] bytes, int offset) throws PCEPProtocolViolationException, MalformedPCEPObjectException
public void encode() throws PCEPProtocolViolationException
PCEPProtocolViolationException
public 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 PCEPConstruct
public boolean equals(Object obj)
equals
in class PCEPConstruct
Copyright © 2016. All rights reserved.