Interface RouteTargeConstraintNlriRegistry
- All Known Implementing Classes:
ImmutableRouteTargetConstrainNlriRegistry
@NonNullByDefault
public interface RouteTargeConstraintNlriRegistry
-
Method Summary
Modifier and TypeMethodDescription@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 Details
-
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
Encode input BGP routeTarget to output buffer.- Parameters:
routeTarget
- RouteTargetChoice- Returns:
- encoded RouteTargetChoice body in Bytebuf
-