Package org.opendaylight.protocol.pcep
Interface PCEPSessionNegotiatorFactory<S extends PCEPSession>
- Type Parameters:
S
- PCEPSession implementation
- All Known Implementing Classes:
AbstractPCEPSessionNegotiatorFactory
,DefaultPCEPSessionNegotiatorFactory
public interface PCEPSessionNegotiatorFactory<S extends PCEPSession>
Factory for creating PCEP session negotiator.
-
Method Summary
Modifier and TypeMethodDescription@NonNull PCEPSessionProposalFactory
Returns a PCEPSessionProposalFactory.@NonNull SessionNegotiator
getSessionNegotiator
(@NonNull PCEPSessionNegotiatorFactoryDependencies sessionNegotiatorDependencies, @NonNull io.netty.channel.Channel channel, @NonNull io.netty.util.concurrent.Promise<S> promise) Creates PCEPSessionNegotiator instance for income attributes.
-
Method Details
-
getSessionNegotiator
@NonNull SessionNegotiator getSessionNegotiator(@NonNull PCEPSessionNegotiatorFactoryDependencies sessionNegotiatorDependencies, @NonNull io.netty.channel.Channel channel, @NonNull io.netty.util.concurrent.Promise<S> promise) Creates PCEPSessionNegotiator instance for income attributes.- Parameters:
sessionNegotiatorDependencies
- contains PCEPSessionNegotiator dependencieschannel
- session channelpromise
- session promise- Returns:
- PCEPSessionNegotiator instance
-
getPCEPSessionProposalFactory
@NonNull PCEPSessionProposalFactory getPCEPSessionProposalFactory()Returns a PCEPSessionProposalFactory.- Returns:
- session factory
-