public class PCEPMonRep extends PCEPMessage
The PCMonRep message is used to provide PCE state metrics back to the requester for out-of-band monitoring requests. The Message-Type field of the PCEP common header for the PCMonRep message is set to 9.
There is one mandatory object that MUST be included within a PCMonRep message: the MONITORING object. If the MONITORING object is missing, the receiving PCE MUST send a PCErr message with Error-type=6 (Mandatory Object missing) and Error-value=4 (MONITORING object missing).
Format of a PCMonRep (out-of-band request):
log, messageBytes
Constructor and Description |
---|
PCEPMonRep()
Construct new PCEP PCMonReq
|
Modifier and Type | Method and Description |
---|---|
void |
encode() |
boolean |
equals(Object obj) |
Monitoring |
getMonitoring() |
PccReqId |
getPccReqId() |
RequestParameters |
getRP() |
int |
hashCode() |
void |
setMonitoring(Monitoring monitoring) |
void |
setPccReqId(PccReqId pccReqId) |
void |
setRP(RequestParameters rP) |
encodeHeader, getBytes, getLength, getMessageType, getMessageType, getVer, setMessageLength, setMessageType
public void encode() throws PCEPProtocolViolationException
PCEPProtocolViolationException
public Monitoring getMonitoring()
public void setMonitoring(Monitoring monitoring)
public PccReqId getPccReqId()
public void setPccReqId(PccReqId pccReqId)
public RequestParameters getRP()
public void setRP(RequestParameters rP)
public int hashCode()
hashCode
in class PCEPMessage
public boolean equals(Object obj)
equals
in class PCEPMessage
Copyright © 2016. All rights reserved.