Interface PeerSpecificParserConstraint

All Known Subinterfaces:
PeerSpecificParserConstraintProvider
All Known Implementing Classes:
PeerSpecificParserConstraintImpl

public interface PeerSpecificParserConstraint
Holds BGP peer specific constraints of PDU processing.
  • Method Details

    • getPeerConstraint

      <T extends PeerConstraint> @NonNull Optional<T> getPeerConstraint(@NonNull Class<T> peerConstraintType)
      Looks-up and optionally returns PeerConstraint service.
      Parameters:
      peerConstraintType - Class type of the service.
      Returns:
      Optional of the required service, absent if the service is not available.