Interface RouteTargetConstrainSerializer<T extends RouteTargetConstrainChoice>
-
- All Known Subinterfaces:
RouteTargetHandler<T>
- All Known Implementing Classes:
RouteTargetAS4OctetRouteHandler
,RouteTargetASRouteHandler
,RouteTargetDefaultHandler
,RouteTargetIpv4RouteHandler
public interface RouteTargetConstrainSerializer<T extends RouteTargetConstrainChoice>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull Class<T>
getClazz()
returns class of RouteTargetChoice handled by serializer.@Nullable Integer
getType()
Returns NlriType handled by parser.@NonNull io.netty.buffer.ByteBuf
serializeRouteTargetConstrain(@NonNull T routeTarget)
Serialize routeTarget.
-
-
-
Method Detail
-
serializeRouteTargetConstrain
@NonNull io.netty.buffer.ByteBuf serializeRouteTargetConstrain(@NonNull T routeTarget)
Serialize routeTarget.- Parameters:
routeTarget
- routeTarget- Returns:
- Encode routeTarget to output buffer
-
getClazz
@NonNull Class<T> getClazz()
returns class of RouteTargetChoice handled by serializer.- Returns:
- RouteTargetChoice Class
-
getType
@Nullable Integer getType()
Returns NlriType handled by parser.- Returns:
- NlriType
-
-