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 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 dependencies
      channel - session channel
      promise - session promise
      Returns:
      PCEPSessionNegotiator instance
    • getPCEPSessionProposalFactory

      @NonNull PCEPSessionProposalFactory getPCEPSessionProposalFactory()
      Returns a PCEPSessionProposalFactory.
      Returns:
      session factory