Interface RouteTargetConstrainSerializer<T extends RouteTargetConstrainChoice>
- All Known Subinterfaces:
RouteTargetHandler<T>
public interface RouteTargetConstrainSerializer<T extends RouteTargetConstrainChoice>
-
Method Summary
Modifier and TypeMethodDescriptionbyte
getType()
Returns NlriType handled by parser.@NonNull io.netty.buffer.ByteBuf
serializeRouteTargetConstrain
(@NonNull T routeTarget) Serialize routeTarget.
-
Method Details
-
serializeRouteTargetConstrain
Serialize routeTarget.- Parameters:
routeTarget
- routeTarget- Returns:
- Encode routeTarget to output buffer
-
getType
byte getType()Returns NlriType handled by parser.- Returns:
- NlriType
-