Interface RouteTargetConstrainSerializer<T extends RouteTargetConstrainChoice>

    • 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