Interface RouteTargeConstraintNlriRegistry
-
- All Known Implementing Classes:
SimpleRouteTargetConstrainNlriRegistry
@NonNullByDefault public interface RouteTargeConstraintNlriRegistry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable RouteTargetConstrainChoice
parseRouteTargetConstrain(@Nullable Integer type, io.netty.buffer.ByteBuf buffer)
Decode input buffer to BGP Route Target.io.netty.buffer.ByteBuf
serializeRouteTargetConstrain(RouteTargetConstrainChoice routeTarget)
Encode input BGP routeTarget to output buffer.
-
-
-
Method Detail
-
parseRouteTargetConstrain
@Nullable RouteTargetConstrainChoice parseRouteTargetConstrain(@Nullable Integer type, io.netty.buffer.ByteBuf buffer)
Decode input buffer to BGP Route Target.- Parameters:
type
- Nlri Typebuffer
- encoded RouteTargetChoice body in Bytebuf- Returns:
- RouteTargetChoice
-
serializeRouteTargetConstrain
io.netty.buffer.ByteBuf serializeRouteTargetConstrain(RouteTargetConstrainChoice routeTarget)
Encode input BGP routeTarget to output buffer.- Parameters:
routeTarget
- RouteTargetChoice- Returns:
- encoded RouteTargetChoice body in Bytebuf
-
-