public class Response extends PCEPConstruct
Represents a PCEP Response.
It is a collection of PCEP Objects.
From RFC 5440 Section 6.5 :
 
  
bytes, length, log| Constructor and Description | 
|---|
Response()  | 
Response(byte[] bytes,
        int offset)  | 
getBytes, getLength, setBytes, setLengthpublic Response()
public Response(byte[] bytes,
                int offset)
         throws PCEPProtocolViolationException
PCEPProtocolViolationExceptionpublic RequestParameters getRequestParameters()
public void setRequestParameters(RequestParameters requestParameters)
public NoPath getNoPath()
public void setNoPath(NoPath noPath)
public LSPA getlSPA()
public void setlSPA(LSPA lSPA)
public void setLSPA(LSPA lSPA)
public Bandwidth getBandwidth()
public void setBandwidth(Bandwidth bandwidth)
public LinkedList<Metric> getMetricList()
public void setMetricList(LinkedList<Metric> metricList)
public IncludeRouteObject getiRO()
public void setiRO(IncludeRouteObject iRO)
public void setIRO(IncludeRouteObject iRO)
public LinkedList<Path> getPathList()
public void addPath(Path path)
public Path getPath(int index)
public void setPathList(LinkedList<Path> pathList)
public Monitoring getMonitoring()
public void setMonitoring(Monitoring monitoring)
public PccReqId getPccIdreq()
public void setPccIdreq(PccReqId pccIdreq)
public LinkedList<MetricPCE> getMetricPCEList()
public void setMetricPCEList(LinkedList<MetricPCE> metricPCEList)
public ReservationConf getResConf()
public void setResConf(ReservationConf resConf)
public void encode()
            throws PCEPProtocolViolationException
PCEPProtocolViolationExceptionpublic void decode(byte[] bytes,
                   int offset)
            throws PCEPProtocolViolationException
PCEPProtocolViolationExceptionpublic int hashCode()
hashCode in class PCEPConstructpublic boolean equals(Object obj)
equals in class PCEPConstructCopyright © 2016. All rights reserved.