Interface PeerSpecificParserConstraint
- All Known Subinterfaces:
PeerSpecificParserConstraintProvider
- All Known Implementing Classes:
PeerSpecificParserConstraintImpl
public interface PeerSpecificParserConstraint
Holds BGP peer specific constraints of PDU processing.
-
Method Summary
Modifier and TypeMethodDescription<T extends PeerConstraint>
@NonNull Optional<T> getPeerConstraint
(@NonNull Class<T> peerConstraintType) Looks-up and optionally returnsPeerConstraint
service.
-
Method Details
-
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.
-