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, setMessageType
public LinkedList<Response> ResponseList
public PCEPResponse()
public PCEPResponse(byte[] bytes) throws PCEPProtocolViolationException
PCEPProtocolViolationException
public void addResponse(Response response)
public Response getResponse(int index)
public LinkedList<Response> getResponseList()
public void setResponsetList(LinkedList<Response> responseList)
public void encode() throws PCEPProtocolViolationException
PCEPProtocolViolationException
public void decode() throws PCEPProtocolViolationException
PCEPProtocolViolationException
public int hashCode()
hashCode
in class PCEPMessage
public boolean equals(Object obj)
equals
in class PCEPMessage
Copyright © 2016. All rights reserved.