public class PCEPResponse extends PCEPMessage
| Modifier and Type | Field and Description |
|---|---|
LinkedList<Response> |
ResponseList |
messageBytes| Constructor and Description |
|---|
PCEPResponse()
Construct new PCEP Request from scratch
|
PCEPResponse(byte[] bytes) |
| Modifier and Type | Method and Description |
|---|---|
void |
addResponse(Response response) |
void |
decode()
Decode the PCEP Response message
|
void |
encode()
Encodes the PCEP Response Message
|
boolean |
equals(Object obj) |
Response |
getResponse(int index) |
LinkedList<Response> |
getResponseList() |
int |
hashCode() |
void |
setResponsetList(LinkedList<Response> responseList) |
String |
toString() |
encodeHeader, getBytes, getLength, getMessageType, getMessageType, getVer, setMessageLength, setMessageTypepublic LinkedList<Response> ResponseList
public PCEPResponse()
public PCEPResponse(byte[] bytes)
throws PCEPProtocolViolationException
PCEPProtocolViolationExceptionpublic void addResponse(Response response)
public Response getResponse(int index)
public LinkedList<Response> getResponseList()
public void setResponsetList(LinkedList<Response> responseList)
public void encode()
throws PCEPProtocolViolationException
PCEPProtocolViolationExceptionpublic void decode()
throws PCEPProtocolViolationException
PCEPProtocolViolationExceptionpublic int hashCode()
hashCode in class PCEPMessagepublic boolean equals(Object obj)
equals in class PCEPMessageCopyright © 2016. All rights reserved.