public Object parseObject(final ObjectHeader header, final ByteBuf bytes) throws PCEPDeserializerException {
checkArgument(bytes != null && bytes.isReadable(), "Array of bytes is mandatory. Can't be null or empty.");
final EndpointsObjBuilder builder = new EndpointsObjBuilder();
public Object parseObject(final ObjectHeader header, final ByteBuf bytes) throws PCEPDeserializerException {
checkArgument(bytes != null && bytes.isReadable(), "Array of bytes is mandatory. Can't be null or empty.");
final EndpointsObjBuilder builder = new EndpointsObjBuilder();
LOG.debug("Processed bit not set on Endpoints OBJECT, ignoring it.");
return new UnknownObject(PCEPErrors.P_FLAG_NOT_SET, builder.build());
}
LOG.debug("Processed bit not set on Endpoints OBJECT, ignoring it.");
return new UnknownObject(PCEPErrors.P_FLAG_NOT_SET, builder.build());
}
final Ipv4Builder ipv4bldr = new Ipv4Builder()
.setSourceIpv4Address(Ipv4Util.addressForByteBuf(bytes))
.setDestinationIpv4Address(Ipv4Util.addressForByteBuf(bytes));
final Ipv4Builder ipv4bldr = new Ipv4Builder()
.setSourceIpv4Address(Ipv4Util.addressForByteBuf(bytes))
.setDestinationIpv4Address(Ipv4Util.addressForByteBuf(bytes));