Interface PeerSpecificParserConstraint
-
- All Known Subinterfaces:
PeerSpecificParserConstraintProvider
- All Known Implementing Classes:
PeerSpecificParserConstraintImpl
public interface PeerSpecificParserConstraint
Holds BGP peer specific constraints of PDU processing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends PeerConstraint>
@NonNull Optional<T>getPeerConstraint(@NonNull Class<T> peerConstraintType)
Looks-up and optionally returnsPeerConstraint
service.
-
-
-
Method Detail
-
getPeerConstraint
<T extends PeerConstraint> @NonNull Optional<T> getPeerConstraint(@NonNull Class<T> peerConstraintType)
Looks-up and optionally returnsPeerConstraint
service.- Parameters:
peerConstraintType
- Class type of the service.- Returns:
- Optional of the required service, absent if the service is not available.
-
-