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 Ipv6Builder ipv6bldr = new Ipv6Builder()
.setSourceIpv6Address(Ipv6Util.addressForByteBuf(bytes))
.setDestinationIpv6Address(Ipv6Util.addressForByteBuf(bytes));
final Ipv6Builder ipv6bldr = new Ipv6Builder()
.setSourceIpv6Address(Ipv6Util.addressForByteBuf(bytes))
.setDestinationIpv6Address(Ipv6Util.addressForByteBuf(bytes));