use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.association.object.AssociationObjectBuilder in project bgpcep by opendaylight.
the class AbstractAssociationParser method localParseObject.
@Override
protected final RsvpTeObject localParseObject(final ByteBuf byteBuf) throws RSVPParsingException {
final AssociationObjectBuilder asso = new AssociationObjectBuilder();
asso.setAssociationType(AssociationType.forValue(byteBuf.readUnsignedShort()));
asso.setAssociationId(byteBuf.readUnsignedShort());
asso.setIpAddress(parseAssociationIpAddress(byteBuf));
return asso.build();
}
Aggregations