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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull PCEPSessionProposalFactory
getPCEPSessionProposalFactory()
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 Detail
-
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
-
-